Catch apps which have been removed manually
This commit is contained in:
parent
4680691ca6
commit
8e1b403b16
1 changed files with 4 additions and 1 deletions
|
@ -104,7 +104,10 @@ class OC_App {
|
|||
|
||||
// Add each apps' folder as allowed class path
|
||||
foreach($apps as $app) {
|
||||
\OC::$loader->addValidRoot(self::getAppPath($app));
|
||||
$path = self::getAppPath($app);
|
||||
if($path !== false) {
|
||||
\OC::$loader->addValidRoot($path);
|
||||
}
|
||||
}
|
||||
|
||||
// prevent app.php from printing output
|
||||
|
|
Loading…
Reference in a new issue