Mark some more fields deprecated or readonly
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 31 Aug 2022 21:42:20 +0000 (09:42 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 31 Aug 2022 21:42:20 +0000 (09:42 +1200)
xml/schema/Contact/Contact.xml
xml/schema/Core/Address.xml
xml/schema/Core/Email.xml
xml/schema/Core/Phone.xml

index eadfeaeb6cc8f9e7dad020870ecf8b10b65102ed..a70f7743fa13ff193d64f6efb4a68656ae241df5 100644 (file)
     <type>varchar</type>
     <length>255</length>
     <import>true</import>
+    <deprecated>true</deprecated>
     <headerPattern>/^Open\s?ID|u(niq\w*)?\s?ID/i</headerPattern>
     <dataPattern>/^[\w\/\:\.]+$/</dataPattern>
     <comment>the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM</comment>
index 018390e5065c622f10c27247d8dfd82dec7a001b..a38d251e8fe8226f792e73151150b43cd02ce259 100644 (file)
     <title>USPS Code</title>
     <type>varchar</type>
     <length>32</length>
+    <deprecated>true</deprecated>
     <comment>USPS Bulk mailing code.</comment>
     <add>1.1</add>
   </field>
index 7f01e31fc72966501aa96a1347163f59f9f8741f..50cebbc1b01627e1b9ae65903763d3ae149b98b8 100644 (file)
     <name>hold_date</name>
     <type>datetime</type>
     <comment>When the address went on bounce hold</comment>
+    <readonly>true</readonly>
     <html>
       <label>Hold Date</label>
       <type>Select Date</type>
index 343f86f1b3fe9fbbd45c1f446dd909adf67065c5..e6a9ee82e007e755d7d64b90469c4f1ee15e49c4 100644 (file)
@@ -97,6 +97,7 @@
     <name>mobile_provider_id</name>
     <title>Mobile Provider</title>
     <type>int unsigned</type>
+    <deprecated>true</deprecated>
     <comment>Which Mobile Provider does this phone belong to.</comment>
     <add>1.1</add>
   </field>
     <name>phone_numeric</name>
     <type>varchar</type>
     <length>32</length>
+    <readonly>true</readonly>
     <comment>Phone number stripped of all whitespace, letters, and punctuation.</comment>
     <html>
       <label>Numeric</label>