aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-09 09:36:38 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-09 09:36:38 +0100
commitc36bac3abdd4b41620bdebbc3391612aac620fb8 (patch)
tree81367a95e82769d78f862426b37e015a665642ea /apps/files_encryption/hooks
parent8f8f9deb66af0e32c508bbca033573824b1388f5 (diff)
parent9a7362dd0d4e0f738089302329ce10817377433e (diff)
downloadnextcloud-server-c36bac3abdd4b41620bdebbc3391612aac620fb8.tar.gz
nextcloud-server-c36bac3abdd4b41620bdebbc3391612aac620fb8.zip
Merge pull request #12406 from owncloud/drop-getApps-getUsers
Config cleanup - OC_Preferences refactoring
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r--apps/files_encryption/hooks/hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index a6b7555b376..f26eefa30e2 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -502,7 +502,7 @@ class Hooks {
public static function preDisable($params) {
if ($params['app'] === 'files_encryption') {
- \OC_Preferences::deleteAppFromAllUsers('files_encryption');
+ \OC::$server->getConfig()->deleteAppFromAllUsers('files_encryption');
$session = new \OCA\Encryption\Session(new \OC\Files\View('/'));
$session->setInitialized(\OCA\Encryption\Session::NOT_INITIALIZED);