From 4859a18ae42b4b178b58b2a9a526b8dae9b8b6f6 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 6 Feb 2018 23:17:18 +0000 Subject: [PATCH] Fixed wrong capitalation (or however this is written) --- src/Core/Addon.php | 2 +- src/Worker/Cron.php | 2 +- src/Worker/Notifier.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/Addon.php b/src/Core/Addon.php index 394dbe5623..5a1392c093 100644 --- a/src/Core/Addon.php +++ b/src/Core/Addon.php @@ -194,7 +194,7 @@ class Addon * @param string $name of the hook to call * @param string|array $data to transmit to the callback handler */ - public static function ForkHooks($priority, $name, $data = null) + public static function forkHooks($priority, $name, $data = null) { $a = get_app(); diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index 6f4c20a8e8..e523f75118 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -41,7 +41,7 @@ Class Cron { logger('cron: start'); // Fork the cron jobs in separate parts to avoid problems when one of them is crashing - Addon::ForkHooks($a->queue['priority'], "cron"); + Addon::forkHooks($a->queue['priority'], "cron"); // run queue delivery process in the background Worker::add(PRIORITY_NEGLIGIBLE, "Queue"); diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 4f41baa820..b050c5e2f5 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -553,7 +553,7 @@ class Notifier { logger('notifier: calling hooks', LOGGER_DEBUG); if ($normal_mode) { - Addon::ForkHooks($a->queue['priority'], 'notifier_normal', $target_item); + Addon::forkHooks($a->queue['priority'], 'notifier_normal', $target_item); } Addon::callHooks('notifier_end',$target_item);