Differential D25031 Diff 83 src/applications/calendar/import/PhabricatorCalendarICSFileImportEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/import/PhabricatorCalendarICSFileImportEngine.php
Context not available. | |||||
public function getDisplayName(PhabricatorCalendarImport $import) { | public function getDisplayName(PhabricatorCalendarImport $import) { | ||||
$filename_key = PhabricatorCalendarImportICSFileTransaction::PARAMKEY_NAME; | $filename_key = PhabricatorCalendarImportICSFileTransaction::PARAMKEY_NAME; | ||||
$filename = $import->getParameter($filename_key); | $filename = $import->getParameter($filename_key); | ||||
if (strlen($filename)) { | if (@strlen($filename)) { | ||||
return pht('ICS File "%s"', $filename); | return pht('ICS File "%s"', $filename); | ||||
} else { | } else { | ||||
return pht('ICS File'); | return pht('ICS File'); | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0