From: Tim Mallezie Date: Tue, 31 Mar 2015 07:32:18 +0000 (+0200) Subject: cleanup File in schema X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=51479855537e3fabf3398957dde5bffd50685384;p=civicrm-core.git cleanup File in schema --- diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index b580b76a48..20bbbe39d8 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -818,7 +818,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { CRM_Contact_Form_Location::buildQuickForm($this); // add attachment - $this->addField('image_URL', array('type' => 'File', 'size' => '30', 'maxlength' => '60', 'label' => ts('Browse/Upload Image'))); + $this->addField('image_URL', array('maxlength' => '60', 'label' => ts('Browse/Upload Image'))); // add the dedupe button $this->addElement('submit', diff --git a/xml/schema/Contact/Contact.xml b/xml/schema/Contact/Contact.xml index f90a154c0b..d8c78e8d36 100644 --- a/xml/schema/Contact/Contact.xml +++ b/xml/schema/Contact/Contact.xml @@ -272,7 +272,8 @@ optional URL for preferred image (photo, logo, etc.) to display for this contact. 1.1 - Text + File + BIG