aboutsummaryrefslogtreecommitdiffstats
path: root/admin/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/index.php')
-rw-r--r--admin/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/index.php b/admin/index.php
index cfcb70d056b..96fa2007244 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -30,7 +30,7 @@ if( !OC_USER::isLoggedIn() || !OC_USER::ingroup( $_SESSION['username'], 'admin'
$adminpages = array();
-foreach( OC_UTIL::$adminpages as $i ){
+foreach( OC_APP::list() as $i ){
// Do some more work here soon
$adminpages[] = $i;
}