]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/mobile/index.php
remove $link
[tt-rss.git] / plugins / mobile / index.php
index 3fd496d0464cea26ac8d973646037f2ca029a830..8202f4043eb159423d4fc1fb23a8fb3889152766 100644 (file)
@@ -20,7 +20,7 @@
 
        init_plugins($link);
 
-       login_sequence($link, true);
+       login_sequence( true);
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     </div>
 
        <?php
-       $use_cats = mobile_get_pref($link, 'ENABLE_CATS');
-       $offset = (int) db_escape_string($link, $_REQUEST["skip"]);
+       $use_cats = mobile_get_pref( 'ENABLE_CATS');
+       $offset = (int) db_escape_string( $_REQUEST["skip"]);
 
        if ($use_cats) {
                render_categories_list($link);
        } else {
-               render_flat_feed_list($link, $offset);
+               render_flat_feed_list( $offset);
        }
        ?>