summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2023-03-05 19:14:08 +0000
committerwn_ <[email protected]>2023-03-05 19:16:48 +0000
commitfe08299ec46eb8df2988c788ced2c019743bee6a (patch)
tree3cdb29e9a7e5f1ceb2eaff769267f57cfe7d4538 /classes/pluginhost.php
parentd210ae50ad14ded6cf204242bc072c82b9e8e70c (diff)
Replace special feed and category numbers with constants.
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-xclasses/pluginhost.php2
1 files changed, 1 insertions, 1 deletions
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]))