diff options
Diffstat (limited to 'plugins/mobile/home.php')
-rw-r--r-- | plugins/mobile/home.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mobile/home.php b/plugins/mobile/home.php index 03fccb3e2..57b18cd85 100644 --- a/plugins/mobile/home.php +++ b/plugins/mobile/home.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); - $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); } ?> |