func_replace doesn't seem to be needed/used by any _attach() methods.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 29 Oct 2009 21:55:35 +0000 (17:55 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 29 Oct 2009 21:55:35 +0000 (17:55 -0400)
framework/Ajax/lib/Horde/Ajax/Imple/AutoCompleter.php

index 95dd7c1..691cf12 100644 (file)
@@ -38,10 +38,7 @@ abstract class Horde_Ajax_Imple_AutoCompleter extends Horde_Ajax_Imple_Base
             '"' . $this->_params['triggerId'] . '"'
         );
 
-        $config = $this->_attach(array(
-            'func_replace' => array(),
-            'tokens' => array(',', ';')
-        ));
+        $config = $this->_attach(array('tokens' => array(',', ';')));
 
         if (isset($config['ajax'])) {
             Horde::addScriptFile('autocomplete.js', 'horde');