Browse code

Drupal-7 ist auch upgrade-fähig

Bernd Wurst authored on24/12/2012 06:38:43
Showing1 changed files
... ...
@@ -54,8 +54,14 @@ function upgradeable($appname, $version)
54 54
   DEBUG("Is {$appname}-{$version} upgradeable?");
55 55
   if ($appname == 'Drupal6') 
56 56
   {
57
+    DEBUG("found Drupal-6.*!");
57 58
     return 'drupal6';
58 59
   }
60
+  if ($appname == 'Drupal7') 
61
+  {
62
+    DEBUG("found Drupal-7.*!");
63
+    return 'drupal7';
64
+  }
59 65
   if ($appname == 'Drupal')
60 66
   {
61 67
     DEBUG("found Drupal!");