]> git.wh0rd.org - tt-rss.git/commitdiff
remove view_mode remark from generated feed url
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 2 Apr 2011 07:15:43 +0000 (11:15 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 2 Apr 2011 07:15:43 +0000 (11:15 +0400)
functions.php

index ddde9994e5075e5d79882492100dd7d5c704d9a4..37f56d0633e4910f6698d7cc532c553d29a8adeb 100644 (file)
                        $search_q = "";
                }
 
-               // Adaptive doesn't really make any sense for generated feeds
-               // All Articles is the default, so no need to insert it either
-               if ($view_mode == "adaptive" || $view_mode == "all_articles")
-                       $view_mode = "";
-               else
-                       $view_mode = "&view-mode=$view_mode";
-
                $reply .= "
                        <a href=\"#\"
                                title=\"".__("View as RSS feed")."\"