From 1635da56cd690a4ff972d8cff5fc9e0170f5cc92 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Wed, 23 May 2012 11:28:10 +0200 Subject: [PATCH] MDL-33293 init JS and theme revisions to timestamps in install to match new reset code --- lib/db/install.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/db/install.php b/lib/db/install.php index f0bb45df6f9..b3e9aa23c88 100644 --- a/lib/db/install.php +++ b/lib/db/install.php @@ -319,8 +319,9 @@ function xmldb_main_install() { set_role_contextlevels($guestrole, get_default_contextlevels('guest')); set_role_contextlevels($userrole, get_default_contextlevels('user')); - // Init themes - set_config('themerev', 1); + // Init theme and JS revisions + set_config('themerev', time()); + set_config('jsrev', time()); // Install licenses require_once($CFG->libdir . '/licenselib.php'); -- 2.11.4.GIT