2018-02-06 17:52:36 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @file src/Worker/ForkHook.php
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Friendica\Worker;
|
|
|
|
|
2018-10-21 01:15:02 -04:00
|
|
|
use Friendica\Core\Hook;
|
2018-02-06 17:52:36 -05:00
|
|
|
|
2018-07-09 22:39:59 -04:00
|
|
|
Class ForkHook
|
|
|
|
{
|
|
|
|
public static function execute($name, $hook, $data)
|
|
|
|
{
|
|
|
|
$a = \Friendica\BaseObject::getApp();
|
2018-02-06 17:52:36 -05:00
|
|
|
|
2018-10-21 01:15:02 -04:00
|
|
|
Hook::callSingle($a, $name, $hook, $data);
|
2018-02-06 17:52:36 -05:00
|
|
|
}
|
|
|
|
}
|