Browse code

erlaube automatisches upgrade für drupal5

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

bernd authored on20/11/2009 09:54:46
Showing1 changed files
... ...
@@ -41,6 +41,11 @@ function upgradeable($appname, $version)
41 41
   if ($appname == 'Drupal')
42 42
   {
43 43
     DEBUG("found Drupal!");
44
+    if (substr($version, 0, 2) == '5.')
45
+    {
46
+      DEBUG("found Drupal-5.*!");
47
+      return 'drupal5';
48
+    }
44 49
     if (substr($version, 0, 2) == '6.')
45 50
     {
46 51
       DEBUG("found Drupal-6.*!");