install new shipped apps before fetching all apps

This commit is contained in:
Kamil Domanski 2011-06-21 23:05:54 +02:00
parent 6a726e2488
commit 299d7bc306
1 changed files with 1 additions and 2 deletions

View File

@ -40,11 +40,10 @@ if(isset($_GET['installed'])) $installed=true; else $installed=false;
if($installed){
global $SERVERROOT;
OC_INSTALLER::installShippedApps(false);
$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");