streams/Zotlabs/Daemon/Deliver_hooks.php

24 lines
260 B
PHP
Raw Normal View History

2016-05-20 02:42:45 +00:00
<?php
namespace Zotlabs\Daemon;
class Deliver_hooks {
static public function run($argc,$argv) {
if($argc < 2)
return;
$r = q("select * from item where id = '%d'",
intval($argv[1])
);
if($r)
call_hooks('notifier_normal',$r[0]);
}
}