3 * @file src/Worker/ForkHook.php
6 namespace Friendica\Worker;
8 use Friendica\Core\Addon;
11 public static function execute($name, $hook_json, $data_json) {
14 $hook = json_decode($hook_json, true);
15 $data = json_decode($data_json, true);
17 Addon::callSingleHook($a, $name, $hook, $data);