diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-14 16:09:34 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-19 14:29:01 +0100 |
commit | 78a02d1b2f60fb04827673d1b5d6ccde2880157f (patch) | |
tree | e6ba55066f7f298d355f966c28c30b04d5dd7823 /core/register_command.php | |
parent | d2285113a891fa2e34f4615c4b30490098577649 (diff) | |
download | nextcloud-server-78a02d1b2f60fb04827673d1b5d6ccde2880157f.tar.gz nextcloud-server-78a02d1b2f60fb04827673d1b5d6ccde2880157f.zip |
Make it possible to disable apps via the console, which are not enabled for the current user
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php index 42e2d29ecea..d167bec2638 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -44,7 +44,7 @@ $application->add(new \OC\Core\Command\Integrity\SignCore( )); if (\OC::$server->getConfig()->getSystemValue('installed', false)) { - $application->add(new OC\Core\Command\App\Disable()); + $application->add(new OC\Core\Command\App\Disable(\OC::$server->getAppManager())); $application->add(new OC\Core\Command\App\Enable()); $application->add(new OC\Core\Command\App\GetPath()); $application->add(new OC\Core\Command\App\ListApps(\OC::$server->getAppManager())); |