aboutsummaryrefslogtreecommitdiff
path: root/www/api
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2013-03-20 20:00:25 +0100
committerChristian Weiske <cweiske@cweiske.de>2013-03-20 20:00:25 +0100
commit85e2ccd942fc67944c9324e71097f426abf75a01 (patch)
treee7a8f71c4937fccb7686b8ae9d5e5664cfd84d40 /www/api
parentfc4c79df8a6fb6c82a3552260d43271fede24ed2 (diff)
downloadsemanticscuttle-85e2ccd942fc67944c9324e71097f426abf75a01.tar.gz
semanticscuttle-85e2ccd942fc67944c9324e71097f426abf75a01.tar.bz2
remove php4-style object reference passing #2
Diffstat (limited to 'www/api')
-rw-r--r--www/api/export_gcs.php2
-rw-r--r--www/api/export_sioc.php2
-rw-r--r--www/api/posts_all.php2
-rw-r--r--www/api/posts_public.php2
-rw-r--r--www/api/tags_get.php2
5 files changed, 5 insertions, 5 deletions
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
<?php
//bookmarks are described using Annotea ontology
-$bookmarks =& $bookmarkservice->getBookmarks(0, NULL, NULL, NULL);
+$bookmarks = $bookmarkservice->getBookmarks(0, NULL, NULL, NULL);
?>
<?php foreach($bookmarks['bookmarks'] as $bookmark): ?>
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 '<?xml version="1.0" standalone="yes" ?'.">\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 '<?xml version="1.0" standalone="yes" ?'.">\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 '<?xml version="1.0" standalone="yes" ?'.">\r\n";