aboutsummaryrefslogtreecommitdiff
path: root/www/watchlist.php
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/watchlist.php
parentfc4c79df8a6fb6c82a3552260d43271fede24ed2 (diff)
downloadsemanticscuttle-85e2ccd942fc67944c9324e71097f426abf75a01.tar.gz
semanticscuttle-85e2ccd942fc67944c9324e71097f426abf75a01.tar.bz2
remove php4-style object reference passing #2
Diffstat (limited to 'www/watchlist.php')
-rw-r--r--www/watchlist.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/watchlist.php b/www/watchlist.php
index ded6782..667cbe9 100644
--- a/www/watchlist.php
+++ b/www/watchlist.php
@@ -62,7 +62,7 @@ if ($user) {
$templateservice->loadTemplate('error.404.tpl', $tplVars);
exit();
} else {
- $userid =& $userinfo->getId();
+ $userid = $userinfo->getId();
}
}
}
@@ -73,7 +73,7 @@ $tplVars['loadjs'] = true;
if ($user) {
$tplVars['user'] = $user;
$tplVars['userid'] = $userid;
- $tplVars['userinfo'] =& $userinfo;
+ $tplVars['userinfo'] = $userinfo;
// Pagination
$perpage = getPerPageCount($currentUser);
@@ -91,12 +91,12 @@ if ($user) {
$tplVars['start'] = $start;
$tplVars['bookmarkCount'] = $start + 1;
- $bookmarks =& $bookmarkservice->getBookmarks($start, $perpage, $userid, NULL, NULL, getSortOrder(), true);
+ $bookmarks = $bookmarkservice->getBookmarks($start, $perpage, $userid, NULL, NULL, getSortOrder(), true);
$tplVars['sidebar_blocks'] = array('watchlist');
$tplVars['watched'] = true;
$tplVars['total'] = $bookmarks['total'];
- $tplVars['bookmarks'] =& $bookmarks['bookmarks'];
+ $tplVars['bookmarks'] = $bookmarks['bookmarks'];
$tplVars['cat_url'] = createURL('tags', '%2$s');
$tplVars['nav_url'] = createURL('watchlist', '%s/%s%s');