mirror of
https://github.com/friendica/friendica
synced 2025-04-23 23:10:10 +00:00
plugin: orphaned hooks weren't deleted.
update: fixing update job for tags.
This commit is contained in:
parent
1a1984c78d
commit
7e154d5e4c
3 changed files with 12 additions and 3 deletions
|
@ -175,7 +175,7 @@ function call_hooks($name, &$data = null) {
|
|||
}
|
||||
else {
|
||||
// remove orphan hooks
|
||||
q("delete from hook where hook = '%s' and file = '$s' and function = '%s' limit 1",
|
||||
q("delete from hook where hook = '%s' and file = '%s' and function = '%s' limit 1",
|
||||
dbesc($name),
|
||||
dbesc($hook[0]),
|
||||
dbesc($hook[1])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue