1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/14168] Add tests for attachment delete class

PHPBB3-14168
This commit is contained in:
Marc Alexander
2015-09-21 22:16:23 +02:00
parent 583f42a2aa
commit b00c7511f0
2 changed files with 71 additions and 1 deletions

View File

@@ -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))
{