aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_attachments.php
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-11 18:01:52 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-02-02 21:52:59 +0100
commita633f3484c63fe4bd70df548b3ae4bd569bdef46 (patch)
tree84e22d369b32d520dad249a2e8b7a13394b0a108 /phpBB/includes/acp/acp_attachments.php
parentdf77174a2b2a8f9e86ee8f992556dd4820484be3 (diff)
downloadforums-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/acp/acp_attachments.php')
-rw-r--r--phpBB/includes/acp/acp_attachments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index e685d6e589..c3c152c32f 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -1036,8 +1036,8 @@ class acp_attachments
if ($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);
}
}
}