summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorfox <[email protected]>2023-03-07 20:13:10 +0300
committerfox <[email protected]>2023-03-07 20:13:10 +0300
commitcddbf5bf5a7e2c433275a3bec089f318d4f211af (patch)
tree8963be1f66c848638dfea5c68c09ac29915bc715 /classes/pluginhost.php
parentc4026b408b824769de6152d0c3bf0eb504a1e935 (diff)
parentb14a8a76ebdf41adc7b8e0e95db1decb1a3d95f6 (diff)
Merge pull request 'Replace special feed and category numbers with constants.' (#104) from wn/tt-rss:feature/special-feed-and-cat-consts into master
Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/104
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 9e3cf1ba1..ab26780c7 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]))