Differential D25031 Diff 83 src/applications/calendar/xaction/PhabricatorCalendarImportNameTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/xaction/PhabricatorCalendarImportNameTransaction.php
Context not available. | |||||
$old = $this->getOldValue(); | $old = $this->getOldValue(); | ||||
$new = $this->getNewValue(); | $new = $this->getNewValue(); | ||||
if (!strlen($old)) { | if (!@strlen($old)) { | ||||
return pht( | return pht( | ||||
'%s named this import %s.', | '%s named this import %s.', | ||||
$this->renderAuthor(), | $this->renderAuthor(), | ||||
$this->renderNewValue()); | $this->renderNewValue()); | ||||
} else if (!strlen($new)) { | } else if (!@strlen($new)) { | ||||
return pht( | return pht( | ||||
'%s removed the name of this import (was: %s).', | '%s removed the name of this import (was: %s).', | ||||
$this->renderAuthor(), | $this->renderAuthor(), | ||||
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