whitespace
This commit is contained in:
parent
a87efe45e0
commit
af7c7642bb
@ -629,6 +629,7 @@ function get_feed_for($channel, $observer_hash, $params) {
|
|||||||
'$community' => '',
|
'$community' => '',
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
call_hooks('atom_feed', $atom);
|
call_hooks('atom_feed', $atom);
|
||||||
|
|
||||||
if($items) {
|
if($items) {
|
||||||
|
@ -291,7 +291,7 @@ function call_hooks($name, &$data = null) {
|
|||||||
$func = $hook[1];
|
$func = $hook[1];
|
||||||
$func($a, $data);
|
$func($a, $data);
|
||||||
} else {
|
} else {
|
||||||
// remove orphan hooks
|
|
||||||
q("DELETE FROM hook WHERE hook = '%s' AND file = '%s' AND function = '%s'",
|
q("DELETE FROM hook WHERE hook = '%s' AND file = '%s' AND function = '%s'",
|
||||||
dbesc($name),
|
dbesc($name),
|
||||||
dbesc($hook[0]),
|
dbesc($hook[0]),
|
||||||
|
Reference in New Issue
Block a user