1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 16:00:59 +01:00

Remove unused argument from ProfileImageWorkflow

Summary: Ref T10319. Removing an unused arg from the workflow script for building profile images.

Test Plan: Rerun `bin/people profileimage --users chad 007 --force`

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10319

Differential Revision: https://secure.phabricator.com/D17466
This commit is contained in:
Chad Little 2017-03-04 15:44:38 -08:00
parent 3a868940c7
commit 19ecd0be65

View file

@ -10,11 +10,6 @@ final class PhabricatorPeopleProfileImageWorkflow
->setSynopsis(pht('Generate default profile images.'))
->setArguments(
array(
array(
'name' => 'user',
'help' => pht(
'Generate a default profile image for a specific user'),
),
array(
'name' => 'all',
'help' => pht(
@ -38,7 +33,6 @@ final class PhabricatorPeopleProfileImageWorkflow
$is_force = $args->getArg('force');
$is_all = $args->getArg('all');
$is_user = $args->getArg('user');
$gd = function_exists('imagecreatefromstring');
if (!$gd) {