The config class now makes less database reads.
This commit is contained in:
2
boot.php
2
boot.php
@@ -1569,7 +1569,7 @@ function update_db(App $a) {
|
||||
$stored = intval($build);
|
||||
$current = intval(DB_UPDATE_VERSION);
|
||||
if($stored < $current) {
|
||||
load_config('database');
|
||||
Config::load('database');
|
||||
|
||||
// We're reporting a different version than what is currently installed.
|
||||
// Run any existing update scripts to bring the database up to current.
|
||||
|
||||
Reference in New Issue
Block a user