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_webfinger | |
parent | 4cdbf6d16a6e5b0c19cf4f2ff8747110f8bf1040 (diff) |
Remove usage of legacy OC_Appconfig
Diffstat (limited to 'user_webfinger')
-rw-r--r-- | user_webfinger/webfinger.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user_webfinger/webfinger.php b/user_webfinger/webfinger.php index c51185bc1..aa695a32d 100644 --- a/user_webfinger/webfinger.php +++ b/user_webfinger/webfinger.php @@ -54,7 +54,8 @@ if (empty($id)) { define('WF_USER', $userName); define('WF_ID', $id); define('WF_BASEURL', $baseAddress); -$apps = OC_Appconfig::getApps(); +$appConfig = \OC::$server->getAppConfig(); +$apps = $appConfig->getApps(); $links = array(); foreach ($apps as $app) { |