friendica/src/Worker/ForkHook.php

20 lines
263 B
PHP
Raw Normal View History

<?php
/**
* @file src/Worker/ForkHook.php
*/
namespace Friendica\Worker;
use Friendica\Core\Hook;
use Friendica\DI;
Class ForkHook
{
public static function execute($name, $hook, $data)
{
$a = DI::app();
Hook::callSingle($a, $name, $hook, $data);
}
}