Browse code

Entferne Drupal-6 aus dem Webap-Upgrader

Bernd Wurst authored on01/03/2016 05:48:17
Showing1 changed files
... ...
@@ -51,11 +51,6 @@ function directory_in_use($directory)
51 51
 function upgradeable($appname, $version)
52 52
 {
53 53
   DEBUG("Is {$appname}-{$version} upgradeable?");
54
-  if ($appname == 'Drupal6') 
55
-  {
56
-    DEBUG("found Drupal-6.*!");
57
-    return 'drupal6';
58
-  }
59 54
   if ($appname == 'Drupal7') 
60 55
   {
61 56
     DEBUG("found Drupal-7.*!");
... ...
@@ -64,16 +59,6 @@ function upgradeable($appname, $version)
64 59
   if ($appname == 'Drupal')
65 60
   {
66 61
     DEBUG("found Drupal!");
67
-    if (substr($version, 0, 2) == '5.')
68
-    {
69
-      DEBUG("found Drupal-5.*!");
70
-      return 'drupal5';
71
-    }
72
-    if (substr($version, 0, 2) == '6.')
73
-    {
74
-      DEBUG("found Drupal-6.*!");
75
-      return 'drupal6';
76
-    }
77 62
     if (substr($version, 0, 2) == '7.')
78 63
     {
79 64
       DEBUG("found Drupal-7.*!");