Merge branch 'dev' into 'dev'
Fix: hooks not added to App::$hooks[] at the time of registration See merge request hubzilla/core!1310
This commit is contained in:
commit
f5acbccb79
@ -42,6 +42,7 @@ class Hook {
|
||||
intval($version)
|
||||
);
|
||||
|
||||
self::insert($hook, $function, $version, $priority);
|
||||
return $r;
|
||||
}
|
||||
|
||||
@ -119,4 +120,4 @@ class Hook {
|
||||
App::$hooks[$hook][] = array('', $fn, $priority, $version);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user