From ea6683e28dd66f167a13ff1ba48fb01b14b982b9 Mon Sep 17 00:00:00 2001 From: Arto Bendiken <arto@26089.no-reply.drupal.org> Date: Mon, 27 Nov 2006 16:43:12 +0000 Subject: [PATCH] Added code for module weight update to the install hook to ensure Boost is loaded early on in the Drupal bootstrap. --- boost.install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boost.install b/boost.install index 3696c9f..5c10f7b 100644 --- a/boost.install +++ b/boost.install @@ -12,6 +12,8 @@ * Implementation of hook_install(). Installs the current version of the database schema. */ function boost_install() { + // Ensure that the module is loaded early in the bootstrap: + db_query("UPDATE {system} SET weight = -90 WHERE name = 'boost'"); // Forcibly disable Drupal's built-in SQL caching to prevent any conflicts of interest: if (variable_get('cache', CACHE_DISABLED) != CACHE_DISABLED) { -- GitLab