aboutsummaryrefslogtreecommitdiff
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:28:37 +0300
commit3098dc0a163b4b70105da2eae1237057ae97ccb1 (patch)
tree1433d63b437b719bca1f11f9b6a605352aac3677 /classes/RSSUtils.php
parent0520ca2226f095046eaf57aa8125e88f69ccf376 (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 acf1d14e5..20c4bd417 100644
--- a/classes/RSSUtils.php
+++ b/classes/RSSUtils.php
@@ -1133,10 +1133,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