diff options
author | Kamil Domanski <kdomanski@kdemail.net> | 2011-06-21 22:16:41 +0200 |
---|---|---|
committer | Kamil Domanski <kdomanski@kdemail.net> | 2011-06-21 22:17:53 +0200 |
commit | e047feb2ad90c3b103c92d35f794988767b2ba21 (patch) | |
tree | 78cbff89498262f9df8a85b25c9594120fc1cc7d /admin | |
parent | ee0f1490e1872cbe6071f5758e292ae1646ab1af (diff) | |
download | nextcloud-server-e047feb2ad90c3b103c92d35f794988767b2ba21.tar.gz nextcloud-server-e047feb2ad90c3b103c92d35f794988767b2ba21.zip |
install shipped apps also in "installed apps" page
Diffstat (limited to 'admin')
-rw-r--r-- | admin/apps.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/apps.php b/admin/apps.php index 5eec7e626d3..56e76d139d2 100644 --- a/admin/apps.php +++ b/admin/apps.php @@ -22,6 +22,7 @@ */ require_once('../lib/base.php'); +include_once('../lib/installer.php'); require( 'template.php' ); if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( $_SESSION['user_id'], 'admin' )){ header( "Location: ".OC_HELPER::linkTo( "", "index.php" )); @@ -42,6 +43,8 @@ if($installed){ $apps = OC_APPCONFIG::getApps(); $records = array(); + OC_INSTALLER::installShippedApps(false); + OC_APP::setActiveNavigationEntry( "core_apps_installed" ); foreach($apps as $app){ $info=OC_APP::getAppInfo("$SERVERROOT/apps/$app/appinfo/info.xml"); |