bernd commited on 2011-01-13 15:53:05
Zeige 1 geänderte Dateien mit 5 Einfügungen und 0 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1903 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -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') |
57 | 62 |