Browse code

Drupal-7 kann auch per Auto-Updater aktualisiert werden

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1903 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on13/01/2011 15:53:05
Showing1 changed files
... ...
@@ -51,6 +51,11 @@ function upgradeable($appname, $version)
51 51
       DEBUG("found Drupal-6.*!");
52 52
       return 'drupal6';
53 53
     }
54
+    if (substr($version, 0, 2) == '7.')
55
+    {
56
+      DEBUG("found Drupal-7.*!");
57
+      return 'drupal7';
58
+    }
54 59
     DEBUG("Version: ".substr($version, 0, 2));
55 60
   }
56 61
   elseif ($appname == 'MediaWiki')