Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f11db1a
)
MDL-33293 init JS and theme revisions to timestamps in install to match new reset...
author
Petr Skoda
<commits@skodak.org>
Wed, 23 May 2012 09:28:10 +0000
(11:28 +0200)
committer
Petr Skoda
<commits@skodak.org>
Wed, 23 May 2012 09:28:10 +0000
(11:28 +0200)
lib/db/install.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/db/install.php
b/lib/db/install.php
index
f0bb45d
..
b3e9aa2
100644
(file)
--- 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');