install new shipped apps before fetching all apps
This commit is contained in:
parent
6a726e2488
commit
299d7bc306
|
@ -40,11 +40,10 @@ if(isset($_GET['installed'])) $installed=true; else $installed=false;
|
||||||
|
|
||||||
if($installed){
|
if($installed){
|
||||||
global $SERVERROOT;
|
global $SERVERROOT;
|
||||||
|
OC_INSTALLER::installShippedApps(false);
|
||||||
$apps = OC_APPCONFIG::getApps();
|
$apps = OC_APPCONFIG::getApps();
|
||||||
$records = array();
|
$records = array();
|
||||||
|
|
||||||
OC_INSTALLER::installShippedApps(false);
|
|
||||||
|
|
||||||
OC_APP::setActiveNavigationEntry( "core_apps_installed" );
|
OC_APP::setActiveNavigationEntry( "core_apps_installed" );
|
||||||
foreach($apps as $app){
|
foreach($apps as $app){
|
||||||
$info=OC_APP::getAppInfo("$SERVERROOT/apps/$app/appinfo/info.xml");
|
$info=OC_APP::getAppInfo("$SERVERROOT/apps/$app/appinfo/info.xml");
|
||||||
|
|
Loading…
Reference in New Issue