CIVICRM-1844 Remove all references to safe_mode, DEPRECATED as of PHP 5.3.0 and REMOV...
[civicrm-core.git] / CRM / Upgrade / Page / Upgrade.php
index 06a377924c141abcfc58504a5249f41437250b69..5b71fed4939dfd28a7237dd5ea6d9dc350a58b82 100644 (file)
@@ -29,10 +29,7 @@ class CRM_Upgrade_Page_Upgrade extends CRM_Core_Page {
    * @throws \Exception
    */
   public function run() {
-    // lets get around the time limit issue if possible for upgrades
-    if (!ini_get('safe_mode')) {
-      set_time_limit(0);
-    }
+    set_time_limit(0);
 
     Civi::resources()->addStyleFile('civicrm', 'css/admin.css');