mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Respect phriction.enabled
in config
Summary: Eventually we'll have a real "uninstall" sort of thing, but until we do we should keep respecting this flag. Test Plan: Disabled the flag, saw Phriction vanish from the application list. Reviewers: btrahan, vrana Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D3724
This commit is contained in:
parent
26f7425ee2
commit
679f530054
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,10 @@ final class PhabricatorApplicationPhriction extends PhabricatorApplication {
|
||||||
return PhabricatorEnv::getDoclink('article/Phriction_User_Guide.html');
|
return PhabricatorEnv::getDoclink('article/Phriction_User_Guide.html');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function isEnabled() {
|
||||||
|
return PhabricatorEnv::getEnvConfig('phriction.enabled');
|
||||||
|
}
|
||||||
|
|
||||||
public function getRoutes() {
|
public function getRoutes() {
|
||||||
return array(
|
return array(
|
||||||
// Match "/w/" with slug "/".
|
// Match "/w/" with slug "/".
|
||||||
|
|
Loading…
Reference in a new issue