summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-06 05:47:52 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-06 05:47:52 +0000
commite66371cac17e35d2cb0c9bf48f792193b79f3a7c (patch)
tree7a80591383246fb439f9c74960c927071a45b9f8 /modules/system/system.install
parent644657c56b6e04fb41e9b424668c61e0d1d6c1d4 (diff)
downloadbrdo-e66371cac17e35d2cb0c9bf48f792193b79f3a7c.tar.gz
brdo-e66371cac17e35d2cb0c9bf48f792193b79f3a7c.tar.bz2
- Patch #137211 by merlinofchaos: move theme information to .info files and improved theme inheritance.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install14
1 files changed, 12 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 7cf9b1979..c6b55878e 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -1109,8 +1109,8 @@ function system_install() {
break;
}
- db_query("INSERT INTO {system} (filename, name, type, owner, status, throttle, bootstrap, schema_version) VALUES ('themes/engines/phptemplate/phptemplate.engine', 'phptemplate', 'theme_engine', '', 1, 0, 0, 0)");
- db_query("INSERT INTO {system} (filename, name, type, owner, status, throttle, bootstrap, schema_version, info) VALUES ('themes/garland/page.tpl.php', 'garland', 'theme', 'themes/engines/phptemplate/phptemplate.engine', 1, 0, 0, 0, '%s')", serialize(drupal_parse_info_file('themes/garland/garland.info') + system_theme_default()));
+ // Load system theme data appropriately.
+ system_theme_data();
db_query("INSERT INTO {users} (uid,name,mail) VALUES(0,'','')");
@@ -3865,6 +3865,16 @@ function system_update_6012() {
}
/**
+ * Rebuild cache data for theme system changes
+ */
+function system_update_6013() {
+ // Rebuild system table contents.
+ module_rebuild_cache();
+ system_theme_data();
+}
+
+
+/**
* @} End of "defgroup updates-5.x-to-6.x"
* The next series of updates should start at 7000.
*/