dev/core#1634 Deprecate unused activity columns
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 4 Dec 2022 20:54:18 +0000 (09:54 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 4 Dec 2022 20:59:35 +0000 (09:59 +1300)
This doesn't get rid of these columns, but it does stop them being exposed in
form builder etc

CRM/Activity/DAO/Activity.php
xml/schema/Activity/Activity.xml

index 8d6164047ea8677793c86e5ce01c949bddb8e434..833f7d2bb34d1b20791e3d3e3234ae78a9b1de0f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Activity/Activity.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:016e3be7b0f4a706b96d0c1e8523b25f)
+ * (GenCodeChecksum:3508de88cd5e88d899df21b3c707a831)
  */
 
 /**
@@ -125,6 +125,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
    * @var int|string|null
    *   (SQL type: int unsigned)
    *   Note that values will be retrieved from the database as a string.
+   * @deprecated
    */
   public $phone_id;
 
@@ -134,6 +135,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
    * @var string|null
    *   (SQL type: varchar(64))
    *   Note that values will be retrieved from the database as a string.
+   * @deprecated
    */
   public $phone_number;
 
@@ -202,6 +204,7 @@ class CRM_Activity_DAO_Activity extends CRM_Core_DAO {
    * @var int|string|null
    *   (SQL type: int unsigned)
    *   Note that values will be retrieved from the database as a string.
+   * @deprecated
    */
   public $relationship_id;
 
index 09a55c45143fd69b49135e0d320fa32ea323a495..c814a083ab2313f5b906fd6fedc594a192ddbcf3 100644 (file)
     <title>Phone ID (called)</title>
     <comment>Phone ID of the number called (optional - used if an existing phone number is selected).</comment>
     <add>2.0</add>
+    <deprecated>true</deprecated>
     <html>
       <type>EntityRef</type>
       <label>Phone (called)</label>
     <title>Phone (called) Number</title>
     <type>varchar</type>
     <length>64</length>
+    <deprecated>true</deprecated>
     <comment>Phone number in case the number does not exist in the civicrm_phone table.</comment>
     <html>
       <type>Text</type>
     <html>
       <label>Relationship</label>
     </html>
+    <deprecated>true</deprecated>
     <add>2.2</add>
   </field>
   <foreignKey>