Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
3.2.1
-
None
-
None
Description
For clarity, create file named result.txt in root directory of your forum.
Write next code in event/listener.php of your extension:
'core.delete_attachments_from_filesystem_after' => 'delete_file', |
public function delete_file($event) |
{
|
$new_file = 'result.txt'; |
$content = $event['space_removed']; |
|
file_put_contents($new_file, $content);
|
}
|
You will see the number written as a result after deleting the file along with the message, but you will not see anything after deleting via plupload.
Same for other events in phpbb/attachment/delete.php