]> git.wh0rd.org Git - tt-rss.git/commitdiff
getSearchSql -> search_to_sql
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 18 Apr 2011 09:40:17 +0000 (13:40 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 18 Apr 2011 09:40:17 +0000 (13:40 +0400)
functions.php

index 43e0e715c28ab6d0de1fe143ab013bd44b9c77be..a1d060cc8ad992b2e4a6ef2394a9ce4232a102fe 100644 (file)
                return $data;
        }
 
-       function getSearchSql($link, $search, $match_on) {
+       function search_to_sql($link, $search, $match_on) {
 
                $search_query_part = "";
 
                                                $search_query_part = "ref_id = -1 AND ";
 
                                } else {
-                                       $search_query_part = getSearchSql($link, $search, $match_on);
+                                       $search_query_part = search_to_sql($link, $search, $match_on);
                                        $search_query_part .= " AND ";
                                }