diff --git a/ext/bulk_add/main.php b/ext/bulk_add/main.php index b2bdb6f5..c60c5cd0 100644 --- a/ext/bulk_add/main.php +++ b/ext/bulk_add/main.php @@ -41,8 +41,7 @@ class BulkAdd extends Extension { $image = new Image($tmpname, $filename, $tags); if($image->is_ok()) { - global $user; - $uie = new UploadingImageEvent($user, $image); + $uie = new UploadingImageEvent($image); send_event($uie); $ok = !$uie->vetoed; }