]> git.mjollnir.org Git - moodle.git/commitdiff
Killing some not needed references
authorstronk7 <stronk7>
Fri, 22 Sep 2006 09:54:02 +0000 (09:54 +0000)
committerstronk7 <stronk7>
Fri, 22 Sep 2006 09:54:02 +0000 (09:54 +0000)
lib/xmldb/classes/XMLDBStructure.class.php
lib/xmldb/classes/XMLDBTable.class.php

index 4d64e27038d81d442f3e7fec1c9ed6a61d51313f..3ccbf0d22f113acec8c92f8d653557b313246fa5 100644 (file)
@@ -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;
index d2bda59d7c6141463e5acf8cd0f41b0bf1215ad9..83fadb9c022e6869af20c167a1ca1cb8fddbc16f 100644 (file)
@@ -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;