diff options
author | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-01-11 18:01:52 +0100 |
---|---|---|
committer | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-02-02 21:52:59 +0100 |
commit | a633f3484c63fe4bd70df548b3ae4bd569bdef46 (patch) | |
tree | 84e22d369b32d520dad249a2e8b7a13394b0a108 /phpBB/includes/functions_privmsgs.php | |
parent | df77174a2b2a8f9e86ee8f992556dd4820484be3 (diff) | |
download | forums-a633f3484c63fe4bd70df548b3ae4bd569bdef46.tar forums-a633f3484c63fe4bd70df548b3ae4bd569bdef46.tar.gz forums-a633f3484c63fe4bd70df548b3ae4bd569bdef46.tar.bz2 forums-a633f3484c63fe4bd70df548b3ae4bd569bdef46.tar.xz forums-a633f3484c63fe4bd70df548b3ae4bd569bdef46.zip |
[ticket/13496] Update calls to `set_config_count()`
PHPBB3-13496
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r-- | phpBB/includes/functions_privmsgs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index 2bc5ef5afc..1c63338247 100644 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -1905,8 +1905,8 @@ function submit_pm($mode, $subject, &$data, $put_in_outbox = true) if ($space_taken && $files_added) { - set_config_count('upload_dir_size', $space_taken, true); - set_config_count('num_files', $files_added, true); + $config->increment('upload_dir_size', $space_taken, false); + $config->increment('num_files', $files_added, false); } } |