From 84909d9711c3eb979c630a6c335fcebfccf3542b Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 27 Apr 2018 12:40:52 +0000 Subject: [PATCH] Standard stuff --- src/Worker/Delivery.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index d8ab882243..f874e5f230 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -20,7 +20,8 @@ use dba; require_once 'include/items.php'; -class Delivery extends BaseObject { +class Delivery extends BaseObject +{ const MAIL = 'mail'; const SUGGESTION = 'suggest'; const RELOCATION = 'relocate'; @@ -28,7 +29,8 @@ class Delivery extends BaseObject { const POST = 'wall-new'; const COMMENT = 'comment-new'; - public static function execute($cmd, $item_id, $contact_id) { + public static function execute($cmd, $item_id, $contact_id) + { logger('Invoked: ' . $cmd . ': ' . $item_id . ' to ' . $contact_id, LOGGER_DEBUG); $top_level = false;