aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-11-18 13:00:43 +0100
committerMax Kostikov <max@kostikov.co>2019-11-18 13:00:43 +0100
commit498c021aec25d845c67150475294066113de6d20 (patch)
treec8934c83f6519bf58f27f410683e06cc6615a6a0 /include/event.php
parent5ee133843f166a58e0c6236e543204be8dae70d3 (diff)
parentef75d27afbbee4cfe7d4441269e350b8f7f432f9 (diff)
downloadvolse-hubzilla-498c021aec25d845c67150475294066113de6d20.tar.gz
volse-hubzilla-498c021aec25d845c67150475294066113de6d20.tar.bz2
volse-hubzilla-498c021aec25d845c67150475294066113de6d20.zip
Merge branch 'dev' into 'dev'
Dev sync See merge request kostikov/core!5
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php
index 6be1b6705..9d76aabd6 100644
--- a/include/event.php
+++ b/include/event.php
@@ -553,9 +553,19 @@ function event_store_event($arr) {
dbesc($hash),
intval($arr['uid'])
);
- if($r)
+ if($r) {
+
+ /**
+ * @hooks event_store_event_end
+ * Called after an event record was stored.
+ * * \e array \b event
+ */
+ call_hooks('event_store_event_end', $r[0]);
+
return $r[0];
+ }
+
return false;
}