From c7e51de137d9b02ce7b9ddabde86f91d4119ce4b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 21 Mar 2009 23:11:58 +0300 Subject: Revert "update translations" This reverts commit 2b38f79c86ad9199f39fa8efac1c0e89c6f3a465. Wrong commit from wrong branch. --- modules/pref-feeds.php | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'modules/pref-feeds.php') diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index fae1fbe2f..36a0e4d32 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -702,8 +702,12 @@ if (file_exists($icons_dir . "/$id.ico")) { unlink($icons_dir . "/$id.ico"); } + + ccache_remove($link, $id, $_SESSION["uid"]); + } else { label_remove($link, -11-$id, $_SESSION["uid"]); + ccache_remove($link, -11-$id, $_SESSION["uid"]); } } } @@ -992,6 +996,9 @@ if ($num_feeds == 0) { db_query($link, "DELETE FROM ttrss_feed_categories WHERE id = '$id' AND owner_uid = " . $_SESSION["uid"]); + + ccache_remove($link, $id, $_SESSION["uid"], true); + } else { print format_warning(__("Unable to delete non empty feed categories.")); @@ -1369,26 +1376,28 @@ print ""; -- cgit v1.2.3