Remove extra api call
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 15 Aug 2009 17:24:42 +0000 (13:24 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 15 Aug 2009 17:24:42 +0000 (13:24 -0400)
Looks like this is BC cruft...

imp/lib/UI/Message.php

index 50c4cc6..65bdaf7 100644 (file)
@@ -320,7 +320,6 @@ class IMP_UI_Message
          * available. */
         if (!is_null($addURL) && $link && $prefs->getValue('add_source')) {
             try {
-                $registry->link('contacts/add', array('source' => $prefs->getValue('add_source')));
                 $add_link = $registry->hasMethod('contacts/import')
                     ? Horde_Util::addParameter($addURL, 'actionID', 'add_address')
                     : null;