From fe08299ec46eb8df2988c788ced2c019743bee6a Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 5 Mar 2023 19:14:08 +0000 Subject: Replace special feed and category numbers with constants. --- classes/pluginhost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/pluginhost.php') diff --git a/classes/pluginhost.php b/classes/pluginhost.php index 1159e8ed1..c24b9b2b2 100755 --- a/classes/pluginhost.php +++ b/classes/pluginhost.php @@ -781,7 +781,7 @@ class PluginHost { // Plugin feed functions are *EXPERIMENTAL*! - // cat_id: only -1 is supported (Special) + // cat_id: only -1 (Feeds::CATEGORY_SPECIAL) is supported (Special) function add_feed(int $cat_id, string $title, string $icon, Plugin $sender): int { if (empty($this->feeds[$cat_id])) -- cgit v1.2.3