Don't assign objects by reference.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 17 Jul 2009 18:38:07 +0000 (12:38 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 17 Jul 2009 18:38:07 +0000 (12:38 -0600)
framework/Cache/lib/Horde/Cache/Memcache.php

index 1cecf81..de7c62a 100644 (file)
@@ -36,7 +36,7 @@ class Horde_Cache_Memcache extends Horde_Cache_Base
      */
     public function __construct($params = array())
     {
-        $this->_memcache = &Horde_Memcache::singleton();
+        $this->_memcache = Horde_Memcache::singleton();
 
         parent::__construct($params);
     }