summaryrefslogtreecommitdiff
path: root/www/api
diff options
context:
space:
mode:
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";