diff options
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') ); } |