actually, that doesn't apply to stable...
git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.1@501 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
869e01bbe0
commit
460ac0d5b6
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user