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:
M. Dent 2018-10-05 19:27:30 +02:00
commit f5acbccb79

View File

@ -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);
}
}
}