aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/attachment/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/attachment/delete.php')
-rw-r--r--phpBB/phpbb/attachment/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/attachment/delete.php b/phpBB/phpbb/attachment/delete.php
index 4c863a2205..372495aef0 100644
--- a/phpBB/phpbb/attachment/delete.php
+++ b/phpBB/phpbb/attachment/delete.php
@@ -85,7 +85,7 @@ class delete
* @return int|bool Number of deleted attachments or false if something
* went wrong during attachment deletion
*/
- function delete($mode, $ids, $resync = true)
+ public function delete($mode, $ids, $resync = true)
{
if (!$this->set_attachment_ids($ids))
{