From 299d7bc3063a064cd0d86af75e4172fd46cdd81e Mon Sep 17 00:00:00 2001
From: Kamil Domanski <kdomanski@kdemail.net>
Date: Tue, 21 Jun 2011 23:05:54 +0200
Subject: [PATCH] install new shipped apps before fetching all apps

---
 admin/apps.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/admin/apps.php b/admin/apps.php
index 56e76d139d2..285cf9e90f5 100644
--- a/admin/apps.php
+++ b/admin/apps.php
@@ -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");
-- 
GitLab