Merge pull request #16584 from eileenmcnaughton/role
[civicrm-core.git] / xml / schema / Core / StatusPreference.xml
index 84f26f519a928a149984f86325a3c48c04e3c7cd..7ae28e74bdbd27397d754e23fc6a93d5b7bbe02f 100644 (file)
@@ -54,7 +54,7 @@
   </index>
   <field>
     <name>hush_until</name>
-    <title>Hush Status Notifications Until</title>
+    <title>Snooze Status Notifications Until</title>
     <type>date</type>
     <import>true</import>
     <comment>expires ignore_severity.  NULL never hushes.</comment>
@@ -69,6 +69,9 @@
     <comment>Hush messages up to and including this severity.</comment>
     <default>1</default>
     <add>4.7</add>
+    <pseudoconstant>
+      <callback>CRM_Utils_Check::getSeverityList</callback>
+    </pseudoconstant>
   </field>
   <field>
     <name>prefs</name>
     <comment>These values are per-check, and can't be compared across checks.</comment>
     <add>4.7</add>
   </field>
+  <field>
+    <name>is_active</name>
+    <title>Check Is Active</title>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>Is this status check active?</comment>
+    <add>5.19</add>
+  </field>
 </table>