summaryrefslogtreecommitdiffstats
path: root/apps/encryption/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/appinfo/app.php')
-rw-r--r--apps/encryption/appinfo/app.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/encryption/appinfo/app.php b/apps/encryption/appinfo/app.php
index 38f9ff2f040..8573f8d605d 100644
--- a/apps/encryption/appinfo/app.php
+++ b/apps/encryption/appinfo/app.php
@@ -21,8 +21,5 @@
namespace OCA\Encryption\AppInfo;
-if (!\OC::$CLI) {
- $di = \OC::$server;
- $app = new Application();
-}
-
+$app = new Application();
+$app->registerEncryptionModule();