summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-06 16:05:28 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-06 16:05:28 +0000
commit1f9077ee9263a64eb62cfdb75d7a5233cb86e83c (patch)
tree951ff40932870affff95e58ae3a2af27b86f1879 /modules/system/system.install
parent36e3d552cfe211cba22d1fc8cf0a7f4b13627179 (diff)
downloadbrdo-1f9077ee9263a64eb62cfdb75d7a5233cb86e83c.tar.gz
brdo-1f9077ee9263a64eb62cfdb75d7a5233cb86e83c.tar.bz2
- Patch #147000 by Berdir: unify and rewrite module_rebuild_cache() and system_theme_data().
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 8f856e1d7..5a68e7007 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -353,7 +353,7 @@ function system_install() {
}
// Load system theme data appropriately.
- system_theme_data();
+ system_get_theme_data();
// Inserting uid 0 here confuses MySQL -- the next user might be created as
// uid 2 which is not what we want. So we insert the first user here, the
@@ -1542,8 +1542,8 @@ function system_update_6008() {
db_drop_field($ret, 'system', 'description');
// Rebuild system table contents.
- module_rebuild_cache();
- system_theme_data();
+ system_get_module_data();
+ system_get_theme_data();
return $ret;
}
@@ -1614,8 +1614,8 @@ function system_update_6012() {
*/
function system_update_6013() {
// Rebuild system table contents.
- module_rebuild_cache();
- system_theme_data();
+ system_get_module_data();
+ system_get_theme_data();
return array(array('success' => TRUE, 'query' => 'Cache rebuilt.'));
}