remove a whole load of event->user variables that weren't used -- things should be using global user
This commit is contained in:
@ -227,7 +227,7 @@ class DanbooruApi extends Extension {
|
||||
//log_debug("danbooru_api", "upload($filename): fileinfo(".var_export($fileinfo,TRUE)."), metadata(".var_export($metadata,TRUE).")...");
|
||||
|
||||
try {
|
||||
$nevent = new DataUploadEvent($user, $file, $metadata);
|
||||
$nevent = new DataUploadEvent($file, $metadata);
|
||||
//log_debug("danbooru_api", "send_event(".var_export($nevent,TRUE).")");
|
||||
send_event($nevent);
|
||||
// If it went ok, grab the id for the newly uploaded image and pass it in the header
|
||||
|
Reference in New Issue
Block a user