summaryrefslogtreecommitdiffstats
path: root/lib/installer.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-14 22:49:20 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-14 22:49:31 +0200
commit6779f28af40c51a0bd3722eca2fd313130e1a367 (patch)
tree73f1d5463f04df859c452f4714ffaf1434c3bf41 /lib/installer.php
parente03c5f39a8c7b94cba121f7dbc65eea96f32854e (diff)
downloadnextcloud-server-6779f28af40c51a0bd3722eca2fd313130e1a367.tar.gz
nextcloud-server-6779f28af40c51a0bd3722eca2fd313130e1a367.zip
cache app types during install or update
Diffstat (limited to 'lib/installer.php')
-rw-r--r--lib/installer.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/installer.php b/lib/installer.php
index e1f30ebe272..731eaaa9030 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -193,6 +193,9 @@ class OC_Installer{
foreach($info['public'] as $name=>$path){
OCP\CONFIG::setAppValue('core', 'public_'.$name, '/apps/'.$info['id'].'/'.$path);
}
+
+ OC_App::setAppTypes($info['id']);
+
return $info['id'];
}
@@ -318,6 +321,9 @@ class OC_Installer{
foreach($info['public'] as $name=>$path){
OCP\CONFIG::setAppValue('core', 'public_'.$name, '/apps/'.$app.'/'.$path);
}
+
+ OC_App::setAppTypes($info['id']);
+
return $info;
}