aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-09-15 23:43:46 +0200
committerGravatar GitHub <noreply@github.com> 2025-09-15 23:43:46 +0200
commitf8310a587c26b0965bab71abfeb2d018e414f572 (patch)
tree096f29ade69a6af2d9ab4b2235a2689253f0150f /app/Models/Feed.php
parentea366d597f3af164a90eb6d58a7525d23a1418f0 (diff)
Clarify: Visibility hidden vs. archived (#7970)
fix https://github.com/FreshRSS/FreshRSS/issues/7887 We have two concepts: how much a feed is shown or not (controlled by priority), and how often a feed is refreshed (or not, in which case it is archived). This PR removes the wording *Archived* from the *visibility* parameter, since this is not what it does.
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index f85db0f2f..e368a6807 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -38,6 +38,8 @@ class FreshRSS_Feed extends Minz_Model {
public const PRIORITY_IMPORTANT = 20;
public const PRIORITY_MAIN_STREAM = 10;
public const PRIORITY_CATEGORY = 0;
+ public const PRIORITY_HIDDEN = -10;
+ /** @deprecated use PRIORITY_HIDDEN instead */
public const PRIORITY_ARCHIVED = -10;
public const TTL_DEFAULT = 0;