From b509d64e960fd527a35366f44ee022ce831ae9f8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Nov 2010 21:05:28 +0300 Subject: rework headlines menu and openArticleInNewWindow() --- modules/backend-rpc.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'modules/backend-rpc.php') diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 65f689a36..e7c1f5721 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -380,23 +380,6 @@ return; } - if ($subop == "getArticleLink") { - - $id = db_escape_string($_REQUEST["id"]); - - $result = db_query($link, "SELECT link FROM ttrss_entries, ttrss_user_entries - WHERE id = '$id' AND id = ref_id AND owner_uid = '".$_SESSION['uid']."'"); - - if (db_num_rows($result) == 1) { - $link = htmlspecialchars(strip_tags(db_fetch_result($result, 0, "link"))); - print "$link$id"; - } else { - print "Article not found"; - } - - return; - } - if ($subop == "setArticleTags") { global $memcache; -- cgit v1.2.3