]> git.mxchange.org Git - friendica.git/commitdiff
Fixed wrong capitalation (or however this is written)
authorMichael <heluecht@pirati.ca>
Tue, 6 Feb 2018 23:17:18 +0000 (23:17 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 6 Feb 2018 23:17:18 +0000 (23:17 +0000)
src/Core/Addon.php
src/Worker/Cron.php
src/Worker/Notifier.php

index 394dbe56236771c70ffcca10b92ee1e1588f477c..5a1392c0932fcd21438684408ac3449bb8dc19c6 100644 (file)
@@ -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();
 
index 6f4c20a8e869385b0d0c18bce3e1d1844b1d35d7..e523f75118af8ad0c415f2db2374a33f6ccf3799 100644 (file)
@@ -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");
index 4f41baa820541c328b0cd26d91a0ccfcdaf834d4..b050c5e2f5773ac349e653de06fcb5a47c95573b 100644 (file)
@@ -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);