diff options
Diffstat (limited to 'plugins/mobile/feed.php')
-rw-r--r-- | plugins/mobile/feed.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/mobile/feed.php b/plugins/mobile/feed.php index 6eae741ac..08e916e21 100644 --- a/plugins/mobile/feed.php +++ b/plugins/mobile/feed.php @@ -18,16 +18,16 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - init_connection($link); + init_plugins($link); - login_sequence($link, true); + login_sequence( true); - $feed_id = db_escape_string($link, $_REQUEST["id"]); - $cat_id = db_escape_string($link, $_REQUEST["cat"]); - $offset = (int) db_escape_string($link, $_REQUEST["skip"]); - $search = db_escape_string($link, $_REQUEST["search"]); - $is_cat = (bool) db_escape_string($link, $_REQUEST["is_cat"]); + $feed_id = db_escape_string( $_REQUEST["id"]); + $cat_id = db_escape_string( $_REQUEST["cat"]); + $offset = (int) db_escape_string( $_REQUEST["skip"]); + $search = db_escape_string( $_REQUEST["search"]); + $is_cat = (bool) db_escape_string( $_REQUEST["is_cat"]); - render_headlines_list($link, $feed_id, $cat_id, $offset, $search, $is_cat); + render_headlines_list( $feed_id, $cat_id, $offset, $search, $is_cat); ?> |