Standard stuff

This commit is contained in:
Michael 2018-04-27 12:40:52 +00:00
parent 9f5a6c05fb
commit 84909d9711

View file

@ -20,7 +20,8 @@ use dba;
require_once 'include/items.php'; require_once 'include/items.php';
class Delivery extends BaseObject { class Delivery extends BaseObject
{
const MAIL = 'mail'; const MAIL = 'mail';
const SUGGESTION = 'suggest'; const SUGGESTION = 'suggest';
const RELOCATION = 'relocate'; const RELOCATION = 'relocate';
@ -28,7 +29,8 @@ class Delivery extends BaseObject {
const POST = 'wall-new'; const POST = 'wall-new';
const COMMENT = 'comment-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); logger('Invoked: ' . $cmd . ': ' . $item_id . ' to ' . $contact_id, LOGGER_DEBUG);
$top_level = false; $top_level = false;