From 9e45b7f7f533ae84fb898b99dea0bcb9f6729605 Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Tue, 3 Jan 2012 12:33:48 +0100 Subject: [PATCH] Add the submitter login name to the webhook notification for uploads. --- src/IDF/Upload.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/IDF/Upload.php b/src/IDF/Upload.php index 94c0e67..2a09b3a 100644 --- a/src/IDF/Upload.php +++ b/src/IDF/Upload.php @@ -253,6 +253,7 @@ class IDF_Upload extends Pluf_Model 'filename' => $this->file, 'filesize' => $this->filesize, 'md5sum' => $this->md5, + 'submitter' => $this->get_submitter()->login, 'tags' => $tags, ), 'project_id' => $project->id,