Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorSetupCheck.php
| Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | final public static function willProcessRequest() { | ||||
| if ($needs_repair !== false) { | if ($needs_repair !== false) { | ||||
| $needs_repair = self::repairConfig(); | $needs_repair = self::repairConfig(); | ||||
| self::setConfigNeedsRepair($needs_repair); | self::setConfigNeedsRepair($needs_repair); | ||||
| } | } | ||||
| } | } | ||||
| final public static function runAllChecks() { | final public static function runAllChecks() { | ||||
| $symbols = id(new PhutilSymbolLoader()) | $symbols = id(new PhutilSymbolLoader()) | ||||
| ->setAncestorClass('PhabricatorSetupCheck') | ->setAncestorClass(__CLASS__) | ||||
| ->setConcreteOnly(true) | ->setConcreteOnly(true) | ||||
| ->selectAndLoadSymbols(); | ->selectAndLoadSymbols(); | ||||
| $checks = array(); | $checks = array(); | ||||
| foreach ($symbols as $symbol) { | foreach ($symbols as $symbol) { | ||||
| $checks[] = newv($symbol['name'], array()); | $checks[] = newv($symbol['name'], array()); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines | |||||