aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Extend/Hook.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Extend/Hook.php')
-rw-r--r--Zotlabs/Extend/Hook.php3
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
+}