mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
26 lines
280 B
PHP
26 lines
280 B
PHP
<?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]);
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
}
|
|
|
|
|