Differential D20995 Diff 50024 src/applications/config/controller/PhabricatorConfigConsoleController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/controller/PhabricatorConfigConsoleController.php
| Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Lines | return id(new PHUIObjectBoxView()) | ||||
| ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) | ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) | ||||
| ->appendChild($table_view); | ->appendChild($table_view); | ||||
| } | } | ||||
| private function loadVersions(PhabricatorUser $viewer) { | private function loadVersions(PhabricatorUser $viewer) { | ||||
| $specs = array( | $specs = array( | ||||
| 'phabricator', | 'phabricator', | ||||
| 'arcanist', | 'arcanist', | ||||
| 'phutil', | |||||
| ); | ); | ||||
| $all_libraries = PhutilBootloader::getInstance()->getAllLibraries(); | $all_libraries = PhutilBootloader::getInstance()->getAllLibraries(); | ||||
| // This puts the core libraries at the top: | // This puts the core libraries at the top: | ||||
| $other_libraries = array_diff($all_libraries, $specs); | $other_libraries = array_diff($all_libraries, $specs); | ||||
| $specs = array_merge($specs, $other_libraries); | $specs = array_merge($specs, $other_libraries); | ||||
| $log_futures = array(); | $log_futures = array(); | ||||
| ▲ Show 20 Lines • Show All 186 Lines • Show Last 20 Lines | |||||