mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 23:31:35 +00:00
experimentally rebase labels; make base index configurable
This commit is contained in:
@@ -134,7 +134,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
|
||||
while ($line = db_fetch_assoc($result)) {
|
||||
|
||||
$label_id = -$line['id'] - 11;
|
||||
$label_id = label_to_feed_id($line['id']);
|
||||
|
||||
$feed = $this->feedlist_init_feed($label_id, false, 0);
|
||||
|
||||
@@ -1700,8 +1700,8 @@ class Pref_Feeds extends Handler_Protected {
|
||||
ccache_remove($link, $id, $owner_uid);
|
||||
|
||||
} else {
|
||||
label_remove($link, -11-$id, $owner_uid);
|
||||
ccache_remove($link, -11-$id, $owner_uid);
|
||||
label_remove($link, feed_to_label_id($id), $owner_uid);
|
||||
//ccache_remove($link, $id, $owner_uid); don't think labels are cached
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user