From: stronk7 Date: Fri, 22 Sep 2006 09:54:02 +0000 (+0000) Subject: Killing some not needed references X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=373dc4406b19b067f028a3366864194291208dc7;p=moodle.git Killing some not needed references --- diff --git a/lib/xmldb/classes/XMLDBStructure.class.php b/lib/xmldb/classes/XMLDBStructure.class.php index 4d64e27038..3ccbf0d22f 100644 --- a/lib/xmldb/classes/XMLDBStructure.class.php +++ b/lib/xmldb/classes/XMLDBStructure.class.php @@ -100,7 +100,7 @@ class XMLDBStructure extends XMLDBObject { * This function will reorder the array of tables */ function orderTables() { - $result =& $this->orderElements($this->tables); + $result = $this->orderElements($this->tables); if ($result) { $this->setTables($result); return true; @@ -113,7 +113,7 @@ class XMLDBStructure extends XMLDBObject { * This function will reorder the array of statements */ function orderStatements() { - $result =& $this->orderElements($this->statements); + $result = $this->orderElements($this->statements); if ($result) { $this->setStatements($result); return true; diff --git a/lib/xmldb/classes/XMLDBTable.class.php b/lib/xmldb/classes/XMLDBTable.class.php index d2bda59d7c..83fadb9c02 100644 --- a/lib/xmldb/classes/XMLDBTable.class.php +++ b/lib/xmldb/classes/XMLDBTable.class.php @@ -228,7 +228,7 @@ class XMLDBTable extends XMLDBObject { * This function will reorder the array of fields */ function orderFields() { - $result =& $this->orderElements($this->fields); + $result = $this->orderElements($this->fields); if ($result) { $this->setFields($result); return true; @@ -266,7 +266,7 @@ class XMLDBTable extends XMLDBObject { * This function will reorder the array of keys */ function orderKeys() { - $result =& $this->orderElements($this->keys); + $result = $this->orderElements($this->keys); if ($result) { $this->setKeys($result); return true; @@ -304,7 +304,7 @@ class XMLDBTable extends XMLDBObject { * This function will reorder the array of indexes */ function orderIndexes() { - $result =& $this->orderElements($this->indexes); + $result = $this->orderElements($this->indexes); if ($result) { $this->setIndexes($result); return true;