]> source.dussan.org Git - nextcloud-server.git/commitdiff
manually disable archive app for stable5 to fix upgrade problems
authorBernhard Posselt <nukeawhale@gmail.com>
Mon, 8 Apr 2013 13:53:43 +0000 (15:53 +0200)
committerBernhard Posselt <nukeawhale@gmail.com>
Mon, 8 Apr 2013 13:53:43 +0000 (15:53 +0200)
lib/app.php

index 55b4543ec9f874b0085a9118eb7334748c1f06c0..272c53f270689a56526ab88b7490f4faee26206f 100644 (file)
@@ -851,7 +851,11 @@ class OC_App{
                foreach($apps as $app) {
                        // check if the app is compatible with this version of ownCloud
                        $info = OC_App::getAppInfo($app);
-                       if(!isset($info['require']) or !self::isAppVersionCompatible($version, $info['require'])) {
+                       if(!isset($info['require']) 
+                               or !self::isAppVersionCompatible($version, $info['require'])
+                               // manually disable files_archive app since it has been removed
+                               // and cause update problems
+                               or $app === 'files_archive') {
                                OC_Log::write('core',
                                        'App "'.$info['name'].'" ('.$app.') can\'t be used because it is'
                                        .' not compatible with this version of ownCloud',