includes/wikiformat.php
changeset 345 4ccdfeee9a11
parent 142 ca9118d9c0f2
child 371 dc6026376919
--- a/includes/wikiformat.php	Mon Dec 31 21:43:51 2007 -0500
+++ b/includes/wikiformat.php	Thu Jan 03 00:53:33 2008 -0500
@@ -154,7 +154,7 @@
         
         chdir($d);
 
-        $obj =& new $class($rules);
+        $obj = new $class($rules);
         return $obj;
     }
 
@@ -514,7 +514,7 @@
             }
         }
 
-        $this->parseObj[$rule] =& new $class($this);
+        $this->parseObj[$rule] = new $class($this);
 
     }
 
@@ -536,7 +536,7 @@
             }
         }
 
-        $this->renderObj[$rule] =& new $class($this);
+        $this->renderObj[$rule] = new $class($this);
     }
 
     function loadFormatObj($format)
@@ -556,7 +556,7 @@
             }
         }
 
-        $this->formatObj[$format] =& new $class($this);
+        $this->formatObj[$format] = new $class($this);
     }
 
     function addPath($type, $dir)