Fix Contribution import with pledge handling, add test
[civicrm-core.git] / CRM / Contribute / Import / Controller.php
index b1582781f8f83332e1814cbb934174a20c6b687b..8ec9f32d1f8366df4c8ffb7cc4f11e0112ba5210 100644 (file)
@@ -26,10 +26,7 @@ class CRM_Contribute_Import_Controller extends CRM_Core_Controller {
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal);
 
-    // lets get around the time limit issue if possible, CRM-2113
-    if (!ini_get('safe_mode')) {
-      set_time_limit(0);
-    }
+    set_time_limit(0);
 
     $this->_stateMachine = new CRM_Import_StateMachine($this, $action);