diff options
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 0c1e69aa20..2ec61ecdd6 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -130,36 +130,6 @@ function request_var($var_name, $default, $multibyte = false, $cookie = false, $ } /** -* Increments an integer config value directly in the database. -* -* @param string $config_name The configuration option's name -* @param int $increment Amount to increment by -* @param bool $is_dynamic Whether this variable should be cached (false) or -* if it changes too frequently (true) to be -* efficiently cached. -* -* @return null -* -* @deprecated -*/ -function set_config_count($config_name, $increment, $is_dynamic = false, \phpbb\config\config $set_config = null) -{ - static $config = null; - - if ($set_config !== null) - { - $config = $set_config; - - if (empty($config_name)) - { - return; - } - } - - $config->increment($config_name, $increment, !$is_dynamic); -} - -/** * Generates an alphanumeric random string of given length * * @return string |