From 6779f28af40c51a0bd3722eca2fd313130e1a367 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 14 May 2012 22:49:20 +0200 Subject: cache app types during install or update --- lib/installer.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/installer.php') 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; } -- cgit v1.2.3