s/rc_image_content_type/rcube_mime::image_content_type/

This commit is contained in:
Aleksander Machniak 2012-06-27 12:12:12 +02:00
parent f109d5ab30
commit b4172e7aed

View file

@ -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']))