]> git.wh0rd.org Git - tt-rss.git/commitdiff
rpc: remove getArticles
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 2 Apr 2013 10:54:31 +0000 (14:54 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 2 Apr 2013 10:54:34 +0000 (14:54 +0400)
classes/rpc.php

index 04b763c46db2ed8e6445c2591008a22c633f22a3..de52a9e8ca32143e3494d942676ece7ccbcc4d0a 100644 (file)
@@ -378,19 +378,6 @@ class RPC extends Handler_Protected {
                }
        }
 
-       function getArticles() {
-               $ids = explode(",", db_escape_string($this->link, $_REQUEST["ids"]));
-               $articles = array();
-
-               foreach ($ids as $id) {
-                       if ($id) {
-                               array_push($articles, format_article($this->link, $id, 0, false));
-                       }
-               }
-
-               print json_encode($articles);
-       }
-
        function assigntolabel() {
                return $this->labelops(true);
        }