mirror of
https://github.com/friendica/friendica
synced 2024-12-23 18:40:16 +00:00
Fixed wrong capitalation (or however this is written)
This commit is contained in:
parent
053cb31eea
commit
4859a18ae4
3 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue