diff options
Diffstat (limited to 'plugins/mobile/index.php')
-rw-r--r-- | plugins/mobile/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mobile/index.php b/plugins/mobile/index.php index 3feec7531..8202f4043 100644 --- a/plugins/mobile/index.php +++ b/plugins/mobile/index.php @@ -18,9 +18,9 @@ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); - init_connection($link); + 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"> @@ -76,13 +76,13 @@ </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); } ?> |