diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-02-13 19:28:49 +0400 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-02-13 19:28:49 +0400 |
commit | 2af1baa83d557795eb566f1e67222da27b2da131 (patch) | |
tree | a8b83e0219a3e74635b54e5f1ae31c724c8c50b4 /user_openid_provider | |
parent | 4cdbf6d16a6e5b0c19cf4f2ff8747110f8bf1040 (diff) |
Remove usage of legacy OC_Appconfig
Diffstat (limited to 'user_openid_provider')
-rw-r--r-- | user_openid_provider/lib/OpenIdProviderStorage.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user_openid_provider/lib/OpenIdProviderStorage.php b/user_openid_provider/lib/OpenIdProviderStorage.php index 25ef02ae0..6651d9b33 100644 --- a/user_openid_provider/lib/OpenIdProviderStorage.php +++ b/user_openid_provider/lib/OpenIdProviderStorage.php @@ -60,7 +60,8 @@ class OC_OpenIdProviderStorage extends Zend_OpenId_Provider_Storage public function delAssociation($handle) { $name = 'assoc_' . md5($handle); - OC_Appconfig::deleteKey('user_openid_provider', $name); + $appConfig = \OC::$server->getAppConfig(); + $appConfig->deleteKey('user_openid_provider', $name); return true; } |