From 85e2ccd942fc67944c9324e71097f426abf75a01 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 20 Mar 2013 20:00:25 +0100 Subject: remove php4-style object reference passing #2 --- www/api/export_gcs.php | 2 +- www/api/export_sioc.php | 2 +- www/api/posts_all.php | 2 +- www/api/posts_public.php | 2 +- www/api/tags_get.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'www/api') diff --git a/www/api/export_gcs.php b/www/api/export_gcs.php index 9c0d85c..06ab217 100644 --- a/www/api/export_gcs.php +++ b/www/api/export_gcs.php @@ -36,7 +36,7 @@ else $tag = NULL; // Get the posts relevant to the passed-in variables. -$bookmarks =& $bookmarkservice->getBookmarks(0, NULL, NULL, $tag, NULL, getSortOrder()); +$bookmarks = $bookmarkservice->getBookmarks(0, NULL, NULL, $tag, NULL, getSortOrder()); // Set up the plain file and output all the posts. diff --git a/www/api/export_sioc.php b/www/api/export_sioc.php index 47ffc96..45cbf14 100644 --- a/www/api/export_sioc.php +++ b/www/api/export_sioc.php @@ -61,7 +61,7 @@ No page for usergroup (users/admin) for the moment getBookmarks(0, NULL, NULL, NULL); +$bookmarks = $bookmarkservice->getBookmarks(0, NULL, NULL, NULL); ?> diff --git a/www/api/posts_all.php b/www/api/posts_all.php index 2d274f4..7204b60 100644 --- a/www/api/posts_all.php +++ b/www/api/posts_all.php @@ -19,7 +19,7 @@ else $tag = NULL; // Get the posts relevant to the passed-in variables. -$bookmarks =& $bookmarkservice->getBookmarks(0, NULL, $userservice->getCurrentUserId(), $tag); +$bookmarks = $bookmarkservice->getBookmarks(0, NULL, $userservice->getCurrentUserId(), $tag); // Set up the XML file and output all the posts. echo '\r\n"; diff --git a/www/api/posts_public.php b/www/api/posts_public.php index 4258550..0a09187 100644 --- a/www/api/posts_public.php +++ b/www/api/posts_public.php @@ -20,7 +20,7 @@ else $tag = NULL; // Get the posts relevant to the passed-in variables. -$bookmarks =& $bookmarkservice->getBookmarks(0, NULL, NULL, $tag); +$bookmarks = $bookmarkservice->getBookmarks(0, NULL, NULL, $tag); // Set up the XML file and output all the posts. echo '\r\n"; diff --git a/www/api/tags_get.php b/www/api/tags_get.php index 06a40d9..c0fb83d 100644 --- a/www/api/tags_get.php +++ b/www/api/tags_get.php @@ -13,7 +13,7 @@ $b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag'); // Get the tags relevant to the passed-in variables. -$tags =& $b2tservice->getTags($userservice->getCurrentUserId()); +$tags = $b2tservice->getTags($userservice->getCurrentUserId()); // Set up the XML file and output all the tags. echo '\r\n"; -- cgit v1.2.3-54-g00ecf