diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-02 21:47:57 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-02 21:47:57 +0200 |
commit | ed87bf93db0380951a091afe7905b08382bd6d8a (patch) | |
tree | efb73de383181b9d6e8465dd3f8e09af910d09f9 /app | |
parent | a0293487633c9ebbe984995219738079a15d252e (diff) |
proper ns for appconfig
Diffstat (limited to 'app')
-rw-r--r-- | app/news.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/news.php b/app/news.php index 0aa824dc9..61459f982 100644 --- a/app/news.php +++ b/app/news.php @@ -246,12 +246,11 @@ class News extends App { $container->registerService('AppConfig', function($c) { // not performant but well :/ // $config = $c->query('ServerContainer')->getAppConfig(); oc7 only - $config = \OC_Appconfig; - $installedApps = $config::getApps(); + $installedApps = \OC_Appconfig::getApps(); $apps = array(); foreach($installedApps as $app) { $apps[] = array( - $app => $config::getValue($app, 'installed_version', '0') + $app => \OC_Appconfig::getValue($app, 'installed_version', '0') ); } |