Code style cleanup: dropped some unnecessary =& reference assignments where they're used only out of habit for PHP 4-style object semantics

This commit is contained in:
Brion Vibber
2009-12-02 09:47:02 -08:00
parent 9e0f89ba4f
commit c89b10ffe4
8 changed files with 20 additions and 20 deletions

View File

@@ -145,7 +145,7 @@ class UTF8FixerUpper
echo "$id...";
$result =& $this->dbu->execute($sth, array($content, $rendered, $id));
$result = $this->dbu->execute($sth, array($content, $rendered, $id));
if (PEAR::isError($result)) {
echo "ERROR: " . $result->getMessage() . "\n";
@@ -209,7 +209,7 @@ class UTF8FixerUpper
echo "$id...";
$result =& $this->dbu->execute($sth, array($fullname, $location, $bio, $id));
$result = $this->dbu->execute($sth, array($fullname, $location, $bio, $id));
if (PEAR::isError($result)) {
echo "ERROR: " . $result->getMessage() . "\n";
@@ -273,7 +273,7 @@ class UTF8FixerUpper
echo "$id...";
$result =& $this->dbu->execute($sth, array($fullname, $location, $description, $id));
$result = $this->dbu->execute($sth, array($fullname, $location, $description, $id));
if (PEAR::isError($result)) {
echo "ERROR: " . $result->getMessage() . "\n";
@@ -330,7 +330,7 @@ class UTF8FixerUpper
echo "$id...";
$result =& $this->dbu->execute($sth, array($content, $rendered, $id));
$result = $this->dbu->execute($sth, array($content, $rendered, $id));
if (PEAR::isError($result)) {
echo "ERROR: " . $result->getMessage() . "\n";