aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php1
-rwxr-xr-xinclude/plugin.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 4d2f07a1e..1231b6209 100755
--- a/include/items.php
+++ b/include/items.php
@@ -629,6 +629,7 @@ function get_feed_for($channel, $observer_hash, $params) {
'$community' => '',
));
+
call_hooks('atom_feed', $atom);
if($items) {
diff --git a/include/plugin.php b/include/plugin.php
index a47558b63..da4568ad7 100755
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -291,7 +291,7 @@ function call_hooks($name, &$data = null) {
$func = $hook[1];
$func($a, $data);
} else {
- // remove orphan hooks
+
q("DELETE FROM hook WHERE hook = '%s' AND file = '%s' AND function = '%s'",
dbesc($name),
dbesc($hook[0]),