Update 4.6 toxic code comment
authorEileen McNaughton <eileen@mcnaughty.com>
Fri, 13 Nov 2015 03:04:25 +0000 (19:04 -0800)
committerEileen McNaughton <eileen@mcnaughty.com>
Fri, 13 Nov 2015 03:04:25 +0000 (19:04 -0800)
.toxic.json

index 64e23875f2fa56417ae804b79f517616496e9ee4..0cbbda29961301c037cce59dc12cc84e73be6cff 100644 (file)
@@ -1,6 +1,6 @@
 {
   "templates": {
-    "toxicAlert": "<img alt=\"Please: Help save the fish from toxic code\" src=\"https://civicrm.org/sites/civicrm.org/files/HazCode-Please.png\">\n\n(Automated notice) This pull-request modifies {SYMBOLS}. That code has been previously identified as hazardous. For advice on dealing with it, please review [Toxic Code Protocol](http://wiki.civicrm.org/confluence/display/CRM/Toxic+Code+Protocol)."
+    "toxicAlert": "(Automated notice) This pull-request modifies {SYMBOLS}. That code has been previously identified as toxic. You will need to ensure that any fix that touches this function works on 4.7 as well. Most likely you will need to do a separate, different PR for 4.7. Alternatively you might manage your fix outside of core for 4.6 and get a fix into 4.7 to ensure a permanent fix"
   },
   "checks": {
     "CRM_Contact_Import_Parser_Contact::import()": "toxicAlert",
@@ -14,4 +14,4 @@
     "CRM_Event_Form_Registration_Confirm::postProcess()": "toxicAlert",
     "CRM_Contribute_Form_Contribution_Confirm::postProcess()": "toxicAlert"
   }
-}
\ No newline at end of file
+}