Differential D10594 Diff 25469 src/applications/config/controller/PhabricatorConfigDatabaseIssueController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/controller/PhabricatorConfigDatabaseIssueController.php
Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
} | } | ||||
if (isset($counts[PhabricatorConfigStorageSchema::STATUS_WARN])) { | if (isset($counts[PhabricatorConfigStorageSchema::STATUS_WARN])) { | ||||
$errors[] = pht( | $errors[] = pht( | ||||
'Detected %s warning(s) with the schemata.', | 'Detected %s warning(s) with the schemata.', | ||||
new PhutilNumber($counts[PhabricatorConfigStorageSchema::STATUS_WARN])); | new PhutilNumber($counts[PhabricatorConfigStorageSchema::STATUS_WARN])); | ||||
} | } | ||||
if (isset($counts[PhabricatorConfigStorageSchema::STATUS_NOTE])) { | |||||
$errors[] = pht( | |||||
'Detected %s minor issue(s) with the scheamata.', | |||||
new PhutilNumber($counts[PhabricatorConfigStorageSchema::STATUS_NOTE])); | |||||
} | |||||
$title = pht('Database Issues'); | $title = pht('Database Issues'); | ||||
$table_box = id(new PHUIObjectBoxView()) | $table_box = id(new PHUIObjectBoxView()) | ||||
->setHeaderText($title) | ->setHeaderText($title) | ||||
->setFormErrors($errors) | ->setFormErrors($errors) | ||||
->appendChild($table); | ->appendChild($table); | ||||
$nav = $this->buildSideNavView(); | $nav = $this->buildSideNavView(); | ||||
Show All 15 Lines |