plugins/libkolab

Aleksander Machniak machniak at kolabsys.com
Wed Jun 27 12:12:38 CEST 2012


 plugins/libkolab/lib/kolab_format_contact.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b4172e7aedf00ff3a9a2682030ee6fc5daf33648
Author: Aleksander Machniak <alec at alec.pl>
Date:   Wed Jun 27 12:12:12 2012 +0200

    s/rc_image_content_type/rcube_mime::image_content_type/

diff --git a/plugins/libkolab/lib/kolab_format_contact.php b/plugins/libkolab/lib/kolab_format_contact.php
index 6781342..69b372c 100644
--- a/plugins/libkolab/lib/kolab_format_contact.php
+++ b/plugins/libkolab/lib/kolab_format_contact.php
@@ -240,7 +240,7 @@ class kolab_format_contact extends kolab_format
             $this->obj->setAnniversary(self::get_datetime($object['anniversary'], false, true));
 
         if (!empty($object['photo'])) {
-            if ($type = rc_image_content_type($object['photo']))
+            if ($type = rcube_mime::image_content_type($object['photo']))
                 $this->obj->setPhoto($object['photo'], $type);
         }
         else if (isset($object['photo']))





More information about the commits mailing list