summaryrefslogtreecommitdiff
path: root/plugins/mobile/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 16:23:15 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 16:48:41 +0400
commit6322ac79a020ab584d412d782d62b2ee77d7c6cf (patch)
treeb2e64a140a3bc9d9ce649ee67f8a687b6511d9f4 /plugins/mobile/index.php
parentaca75cb5cb323535099c7aef46a78ea3cec082f2 (diff)
remove $link
Diffstat (limited to 'plugins/mobile/index.php')
-rw-r--r--plugins/mobile/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mobile/index.php b/plugins/mobile/index.php
index 3fd496d04..8202f4043 100644
--- a/plugins/mobile/index.php
+++ b/plugins/mobile/index.php
@@ -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">
@@ -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);
}
?>