Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/check/PhabricatorExtraConfigSetupCheck.php
| Show First 20 Lines • Show All 176 Lines • ▼ Show 20 Lines | public static function getAncientConfig() { | ||||
| $public_mail_reason = pht( | $public_mail_reason = pht( | ||||
| 'Inbound mail addresses are now configured for each application '. | 'Inbound mail addresses are now configured for each application '. | ||||
| 'in the Applications tool.'); | 'in the Applications tool.'); | ||||
| $gc_reason = pht( | $gc_reason = pht( | ||||
| 'Garbage collectors are now configured with "%s".', | 'Garbage collectors are now configured with "%s".', | ||||
| 'bin/garbage set-policy'); | 'bin/garbage set-policy'); | ||||
| $aphlict_reason = pht( | |||||
| 'Configuration of the notification server has changed substantially. '. | |||||
| 'For discussion, see T10794.'); | |||||
| $ancient_config += array( | $ancient_config += array( | ||||
| 'phid.external-loaders' => | 'phid.external-loaders' => | ||||
| pht( | pht( | ||||
| 'External loaders have been replaced. Extend `%s` '. | 'External loaders have been replaced. Extend `%s` '. | ||||
| 'to implement new PHID and handle types.', | 'to implement new PHID and handle types.', | ||||
| 'PhabricatorPHIDType'), | 'PhabricatorPHIDType'), | ||||
| 'maniphest.custom-task-extensions-class' => | 'maniphest.custom-task-extensions-class' => | ||||
| pht( | pht( | ||||
| ▲ Show 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | $ancient_config += array( | ||||
| 'gcdaemon.ttl.markup-cache' => $gc_reason, | 'gcdaemon.ttl.markup-cache' => $gc_reason, | ||||
| 'gcdaemon.ttl.task-archive' => $gc_reason, | 'gcdaemon.ttl.task-archive' => $gc_reason, | ||||
| 'gcdaemon.ttl.general-cache' => $gc_reason, | 'gcdaemon.ttl.general-cache' => $gc_reason, | ||||
| 'gcdaemon.ttl.conduit-logs' => $gc_reason, | 'gcdaemon.ttl.conduit-logs' => $gc_reason, | ||||
| 'phd.variant-config' => pht( | 'phd.variant-config' => pht( | ||||
| 'This configuration is no longer relevant because daemons '. | 'This configuration is no longer relevant because daemons '. | ||||
| 'restart automatically on configuration changes.'), | 'restart automatically on configuration changes.'), | ||||
| 'notification.ssl-cert' => $aphlict_reason, | |||||
| 'notification.ssl-key' => $aphlict_reason, | |||||
| ); | ); | ||||
| return $ancient_config; | return $ancient_config; | ||||
| } | } | ||||
| private function executeManiphestFieldChecks() { | private function executeManiphestFieldChecks() { | ||||
| $maniphest_appclass = 'PhabricatorManiphestApplication'; | $maniphest_appclass = 'PhabricatorManiphestApplication'; | ||||
| if (!PhabricatorApplication::isClassInstalled($maniphest_appclass)) { | if (!PhabricatorApplication::isClassInstalled($maniphest_appclass)) { | ||||
| ▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines | |||||