Fix incorrect DataUploadEvent creation, triggering an assertion failure
I guess this one slipped through the cracks when $user was made global.
This commit is contained in:
parent
194b68e046
commit
305e25f676
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class ArchiveFileHandler extends Extension {
|
|||
$metadata['extension'] = $pathinfo['extension'];
|
||||
$metadata['tags'] = $tags;
|
||||
$metadata['source'] = null;
|
||||
$event = new DataUploadEvent($user, $tmpname, $metadata);
|
||||
$event = new DataUploadEvent($tmpname, $metadata);
|
||||
send_event($event);
|
||||
}
|
||||
catch(UploadException $ex) {
|
||||
|
|
Reference in a new issue