Merge branch 'revert-f5acbccb' into 'dev'

Revert Fix: for hook registration.  Needs more testing.

See merge request hubzilla/core!1311
This commit is contained in:
M. Dent 2018-10-05 19:32:42 +02:00
commit a5e63aa90a

View File

@ -42,7 +42,6 @@ class Hook {
intval($version) intval($version)
); );
self::insert($hook, $function, $version, $priority);
return $r; return $r;
} }
@ -120,4 +119,4 @@ class Hook {
App::$hooks[$hook][] = array('', $fn, $priority, $version); App::$hooks[$hook][] = array('', $fn, $priority, $version);
} }
} }