Remove call-time pass-by-reference.
authorJan Schneider <jan@horde.org>
Sat, 23 Oct 2010 09:58:52 +0000 (11:58 +0200)
committerJan Schneider <jan@horde.org>
Sat, 23 Oct 2010 09:59:37 +0000 (11:59 +0200)
framework/Db/lib/Horde/Db/Adapter/SplitRead.php

index 903929e..01a4a6e 100644 (file)
@@ -412,7 +412,7 @@ class Horde_Db_Adapter_SplitRead implements Horde_Db_Adapter
      */
     public function addLock(&$sql, array $options = array())
     {
-        $this->_write->addLock(&$sql, $options);
+        $this->_write->addLock($sql, $options);
     }
 
 }