- modified the SQL update to lowercase all user theme settings to let them

keep their settings.
- Change author fields in marvin and example theme. Dries is picky about his
  name ;)
4.0.x
Kjartan Mannes 2002-04-14 19:59:39 +00:00
parent 5592761620
commit 6c0db2de16
3 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ class Theme_example extends BaseTheme {
function system($field) {
$system["name"] = "Stone Age";
$system["author"] = "Dries Buytaerts";
$system["author"] = "Dries";
$system["description"] = "Internet explorer, Netscape, Opera, Lynx";
return $system[$field];

View File

@ -20,7 +20,7 @@
function system($field) {
$system["name"] = "Marvin";
$system["author"] = "Dries Buytaerts";
$system["author"] = "Dries";
$system["description"] = "Internet explorer, Netscape, Opera";
return $system[$field];

View File

@ -352,6 +352,7 @@ function update_25() {
update_sql("REPLACE system SET name = 'system', type = 'module', filename = 'system.module', status = '1';");
update_sql("REPLACE system SET name = 'user', type = 'module', filename = 'user.module', status = '1';");
update_sql("REPLACE system SET name = 'watchdog', type = 'module', filename = 'watchdog.module', status = '1';");
update_sql("UPDATE users SET theme = LOWER(theme);');
}
/*