]> source.dussan.org Git - nextcloud-server.git/commitdiff
error handling in case a requested app doesn't exists
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 15 Jan 2014 16:11:29 +0000 (17:11 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 15 Jan 2014 16:11:29 +0000 (17:11 +0100)
lib/private/installer.php

index 8375b231e9b08dfbcf800b0812905cb56b1d9051..835b6b4c01abaa7006961e5f752be0e4092038cb 100644 (file)
@@ -407,6 +407,9 @@ class OC_Installer{
                        include OC_App::getAppPath($app)."/appinfo/install.php";
                }
                $info=OC_App::getAppInfo($app);
+               if (is_null($info)) {
+                       return false;
+               }
                OC_Appconfig::setValue($app, 'installed_version', OC_App::getAppVersion($app));
 
                //set remote/public handelers