diff --git a/scripts/daemon/phabricator_daemon_launcher.php b/scripts/daemon/phabricator_daemon_launcher.php index 2d2dc1ee3d..b2e0534d67 100755 --- a/scripts/daemon/phabricator_daemon_launcher.php +++ b/scripts/daemon/phabricator_daemon_launcher.php @@ -75,35 +75,6 @@ switch ($command) { echo "Done.\n"; break; - case 'repository-launch-readonly': - case 'repository-launch-master': - if ($command == 'repository-launch-readonly') { - $daemon_args = array( - '--', - '--no-discovery', - ); - } else { - $daemon_args = array(); - } - - $need_launch = phd_load_tracked_repositories(); - if (!$need_launch) { - echo "There are no repositories with tracking enabled.\n"; - exit(1); - } - - will_launch($control); - - echo "Launching PullLocal daemon...\n"; - $control->launchDaemon( - 'PhabricatorRepositoryPullLocalDaemon', - $daemon_args); - - echo "NOTE: '{$command}' is deprecated. Consult the documentation.\n"; - - echo "Done.\n"; - break; - case 'launch': case 'debug': $is_debug = ($argv[1] == 'debug'); @@ -194,17 +165,6 @@ switch ($command) { exit($err); } -function phd_load_tracked_repositories() { - $repositories = id(new PhabricatorRepository())->loadAll(); - foreach ($repositories as $key => $repository) { - if (!$repository->isTracked()) { - unset($repositories[$key]); - } - } - - return $repositories; -} - function will_launch($control, $with_logs = true) { echo "Staging launch...\n"; $control->pingConduit(); diff --git a/src/infrastructure/daemon/PhabricatorDaemonControl.php b/src/infrastructure/daemon/PhabricatorDaemonControl.php index 71a0270442..91f28f6bcc 100644 --- a/src/infrastructure/daemon/PhabricatorDaemonControl.php +++ b/src/infrastructure/daemon/PhabricatorDaemonControl.php @@ -165,12 +165,6 @@ final class PhabricatorDaemonControl { **help** Show this help. - **repository-launch-master** - DEPRECATED. Use 'phd start'. - - **repository-launch-readonly** - DEPRECATED. Use 'phd launch pulllocal -- --no-discovery'. - EOHELP ); return 1;