summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Carper2009-09-27 06:44:12 (GMT)
committer Mike Carper2009-09-27 06:44:12 (GMT)
commit25365eaffbd8166f923c96849e2a37cfc54e8a44 (patch)
treeaae7d1c481a6cf19ef7c28b518e9dc9afb3e6596
parent07e960526bb20372dc6a0f9f04d8cb79b3f5fc4e (diff)
#587190: Allow boost to be disabled when running update.php.
-rw-r--r--boost.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost.install b/boost.install
index 45af656..71ef887 100644
--- a/boost.install
+++ b/boost.install
@@ -681,6 +681,8 @@ function boost_update_6108() {
* Update 6109 - Change .js to .json
*/
function boost_update_6109() {
+ // _boost_change_extension() is located in the module file, make sure thats loaded.
+ drupal_load('module', 'boost');
variable_set('boost_json_extension', '.json');
_boost_change_extension('.js', '.json');
drupal_set_message(t('Be sure to update your htaccess rules.'), BOOST_CACHE_JSON ? 'warning' : 'status');