summaryrefslogtreecommitdiff
path: root/classes/RSSUtils.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-02 21:27:50 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-02 21:27:50 +0300
commitb30f8c93a00ce1ae2c582ca4c7f1d5d8425220ee (patch)
tree59b05d952497b3fe832f17cee31c03c4b45ed0c4 /classes/RSSUtils.php
parentdc6ea08ca490c889f4e85bd697e6bdffb95a22f4 (diff)
rename article mark/publish hooks
Diffstat (limited to 'classes/RSSUtils.php')
-rw-r--r--classes/RSSUtils.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php
index eef0d8540..575a1eda1 100644
--- a/classes/RSSUtils.php
+++ b/classes/RSSUtils.php
@@ -1126,10 +1126,10 @@ class RSSUtils {
$published, $score]);
if ($marked)
- PluginHost::getInstance()->run_hooks(PluginHost::HOOK_ARTICLES_MARKED, [$ref_id]);
+ PluginHost::getInstance()->run_hooks(PluginHost::HOOK_ARTICLES_MARK_TOGGLED, [$ref_id]);
if ($published)
- PluginHost::getInstance()->run_hooks(PluginHost::HOOK_ARTICLES_PUBLISHED, [$ref_id]);
+ PluginHost::getInstance()->run_hooks(PluginHost::HOOK_ARTICLES_PUBLISH_TOGGLED, [$ref_id]);
$sth = $pdo->prepare("SELECT int_id FROM ttrss_user_entries WHERE
ref_id = ? AND owner_uid = ? AND