fix content type we are passing to reflect recent changes
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 16 Apr 2010 18:44:52 +0000 (14:44 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 16 Apr 2010 18:44:52 +0000 (14:44 -0400)
framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde/Connector/Registry.php

index acf4062..9b4f4b6 100644 (file)
@@ -164,7 +164,7 @@ class Horde_ActiveSync_Driver_Horde_Connector_Registry
      */
     public function contacts_import($content, $import_source = null)
     {
-        return $this->_registry->contacts->import($content, 'array', $import_source);
+        return $this->_registry->contacts->import($content, 'activesync', $import_source);
     }
 
     /**
@@ -178,7 +178,7 @@ class Horde_ActiveSync_Driver_Horde_Connector_Registry
      */
     public function contacts_replace($uid, $content, $sources = null)
     {
-        return $this->_registry->contacts->replace($uid, $content, 'array', $sources);
+        return $this->_registry->contacts->replace($uid, $content, 'activesync', $sources);
     }
 
     /**