CRM-15928 - CRM_Upgrade - Remove post-upgrade msg re: profiles
authorTim Otten <totten@civicrm.org>
Tue, 30 Aug 2016 03:34:42 +0000 (20:34 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 30 Aug 2016 04:18:52 +0000 (21:18 -0700)
We'll be switching the upgrade to enable this feature by default on existing
sites.

CRM/Upgrade/Incremental/php/FourSeven.php

index 8d3f576b503f0c862d57e7b1babbd699044d0757..76245a6eb5db1b8abd5fe10bd8d1bda03edcf7a2 100644 (file)
@@ -99,9 +99,9 @@ class CRM_Upgrade_Incremental_php_FourSeven extends CRM_Upgrade_Incremental_Base
 
       $postUpgradeMessage .= '<p>' . ts('The custom fatal error template setting has been removed.') . '</p>';
     }
-    if ($rev == '4.7.11') {
-      $postUpgradeMessage .= '<br /><br />' . ts("WARNING: For increased security, profile submissions embedded in remote sites are no longer allowed to create or edit data by default. If you need to allow users to submit profiles from external sites, you can restore this at Administer > System Settings > Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.) > 'Accept profile submissions from external sites'");
-    }
+    //if ($rev == '4.7.11') {
+    //  $postUpgradeMessage .= '<br /><br />' . ts("WARNING: For increased security, profile submissions embedded in remote sites are no longer allowed to create or edit data by default. If you need to allow users to submit profiles from external sites, you can restore this at Administer > System Settings > Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.) > 'Accept profile submissions from external sites'");
+    //}
   }
 
   /**