pull fix for bulk add into stable
git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.1@500 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
b071577cd1
commit
869e01bbe0
@ -41,7 +41,8 @@ class BulkAdd extends Extension {
|
||||
$image = new Image($tmpname, $filename, $tags);
|
||||
|
||||
if($image->is_ok()) {
|
||||
$uie = new UploadingImageEvent($image);
|
||||
global $user;
|
||||
$uie = new UploadingImageEvent($user, $image);
|
||||
send_event($uie);
|
||||
$ok = !$uie->vetoed;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user