]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/ForkHook.php
Merge branch 'friendica:develop' into mastodon-edit-title-spoiler-update
[friendica.git] / src / Worker / ForkHook.php
index fd79f34bf780a2771f7994ebbe1e48f6e5539b73..406dcd171cbdb4e00ea85b9ec096bff8db05d384 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -28,8 +28,6 @@ Class ForkHook
 {
        public static function execute($name, $hook, $data)
        {
-               $a = DI::app();
-
-               Hook::callSingle($a, $name, $hook, $data);
+               Hook::callSingle($name, $hook, $data);
        }
 }