1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 00:07:44 +02:00

[ticket/13494] Update calls to set_config()

PHPBB3-13494
This commit is contained in:
Gaëtan Muller
2015-01-11 17:32:31 +01:00
parent 6e2838a4ca
commit 79d4ff5538
45 changed files with 175 additions and 181 deletions

View File

@@ -3040,7 +3040,7 @@ function tidy_warnings()
$db->sql_transaction('commit');
}
set_config('warnings_last_gc', time(), true);
$config->set('warnings_last_gc', time(), false);
}
/**
@@ -3048,7 +3048,7 @@ function tidy_warnings()
*/
function tidy_database()
{
global $db;
global $config, $db;
// Here we check permission consistency
@@ -3073,7 +3073,7 @@ function tidy_database()
WHERE ' . $db->sql_in_set('forum_id', $forum_ids, true);
$db->sql_query($sql);
set_config('database_last_gc', time(), true);
$config->set('database_last_gc', time(), false);
}
/**