1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +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:
epriestley 2012-10-17 09:12:08 -07:00
parent 26f7425ee2
commit 679f530054

View file

@ -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 "/".