diff options
author | M.Dent <dentm42@dm42.net> | 2018-10-05 13:25:16 -0400 |
---|---|---|
committer | M.Dent <dentm42@dm42.net> | 2018-10-05 13:25:16 -0400 |
commit | d39ebebc9df1c4f85e5ce01f512469848cd64be7 (patch) | |
tree | adc1e2a78d9dcff7e4c40b89631a9e10fe1c1f8d | |
parent | b5ed1de31e5cd6d1eb510e04bcc414594fd518f4 (diff) | |
download | volse-hubzilla-d39ebebc9df1c4f85e5ce01f512469848cd64be7.tar.gz volse-hubzilla-d39ebebc9df1c4f85e5ce01f512469848cd64be7.tar.bz2 volse-hubzilla-d39ebebc9df1c4f85e5ce01f512469848cd64be7.zip |
Fix: hooks not added to App::[] at the time of registration
-rw-r--r-- | Zotlabs/Extend/Hook.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Extend/Hook.php b/Zotlabs/Extend/Hook.php index 81260ead6..5a1fe6686 100644 --- a/Zotlabs/Extend/Hook.php +++ b/Zotlabs/Extend/Hook.php @@ -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); } -}
\ No newline at end of file +} |