mirror of
https://github.com/friendica/friendica
synced 2024-12-26 14:00:15 +00:00
18 lines
273 B
PHP
18 lines
273 B
PHP
<?php
|
|
/**
|
|
* @file src/Worker/ForkHook.php
|
|
*/
|
|
|
|
namespace Friendica\Worker;
|
|
|
|
use Friendica\Core\Addon;
|
|
|
|
Class ForkHook
|
|
{
|
|
public static function execute($name, $hook, $data)
|
|
{
|
|
$a = \Friendica\BaseObject::getApp();
|
|
|
|
Addon::callSingleHook($a, $name, $hook, $data);
|
|
}
|
|
}
|