From 6c0db2de16b770df482d9b2526ed39f3ceaf7551 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 14 Apr 2002 19:59:39 +0000 Subject: - 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 ;) --- themes/example/example.theme | 2 +- themes/marvin/marvin.theme | 2 +- update.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/example/example.theme b/themes/example/example.theme index aca89d1ae..ce5828fdc 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -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]; diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index 4978acaaf..193c2179b 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -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]; diff --git a/update.php b/update.php index 838f09c12..1c8a58a6b 100644 --- a/update.php +++ b/update.php @@ -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);'); } /* -- cgit v1.2.3