Differential D25031 Diff 83 src/applications/aphlict/management/PhabricatorAphlictManagementNotifyWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/aphlict/management/PhabricatorAphlictManagementNotifyWorkflow.php
Context not available. | |||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
$username = $args->getArg('user'); | $username = $args->getArg('user'); | ||||
if (!strlen($username)) { | if (!@strlen($username)) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht( | pht( | ||||
'Specify a user to notify with "--user".')); | 'Specify a user to notify with "--user".')); | ||||
Context not available. | |||||
} | } | ||||
$message = $args->getArg('message'); | $message = $args->getArg('message'); | ||||
if (!strlen($message)) { | if (!@strlen($message)) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht( | pht( | ||||
'Specify a message to send with "--message".')); | 'Specify a message to send with "--message".')); | ||||
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