diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-05-27 11:10:06 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-05-27 21:00:02 +0200 |
commit | 68db3059eec904e90c41a8452799222e21c9c460 (patch) | |
tree | c4ab392d196eb3103016bd2f1469d99ee4372e07 /apps/encryption/appinfo/app.php | |
parent | 5549641f1f977ab2b105b8f9d7b8c6829c0e6d02 (diff) | |
download | nextcloud-server-68db3059eec904e90c41a8452799222e21c9c460.tar.gz nextcloud-server-68db3059eec904e90c41a8452799222e21c9c460.zip |
detect migration status
Diffstat (limited to 'apps/encryption/appinfo/app.php')
-rw-r--r-- | apps/encryption/appinfo/app.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/encryption/appinfo/app.php b/apps/encryption/appinfo/app.php index 0c7c231aef7..2eb12f638ed 100644 --- a/apps/encryption/appinfo/app.php +++ b/apps/encryption/appinfo/app.php @@ -25,8 +25,10 @@ namespace OCA\Encryption\AppInfo; \OCP\Util::addscript('encryption', 'encryption'); -$app = new Application(); -if (\OC::$server->getEncryptionManager()->isReady()) { +$encryptionSystemReady = \OC::$server->getEncryptionManager()->isReady(); + +$app = new Application([], $encryptionSystemReady); +if ($encryptionSystemReady) { $app->registerEncryptionModule(); $app->registerHooks(); $app->registerSettings(); |