]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Expire.php
spelling: effectiveness
[friendica.git] / src / Worker / Expire.php
index 7a636499bdafde0ae507b3f64389f6ae2a644e1c..15a9355342f8d7c3258fe46ec2fc004c8218a5d8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -51,7 +51,7 @@ class Expire
                        foreach (Hook::getByName('expire') as $hook) {
                                if ($hook[1] == $hook_function) {
                                        Logger::info('Calling expire hook', ['hook' => $hook[1]]);
-                                       Hook::callSingle($a, 'expire', $hook, $data);
+                                       Hook::callSingle('expire', $hook, $data);
                                }
                        }
                        return;