bernd commited on 2009-11-20 09:54:46
Zeige 1 geänderte Dateien mit 5 Einfügungen und 0 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1507 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -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.*!"); |
47 | 52 |