function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
parent::__construct($title, $modal);
- $this->_stateMachine = new CRM_Activity_Import_StateMachine($this, $action);
+ // lets get around the time limit issue if possible, CRM-2113
+ if (!ini_get('safe_mode')) {
+ set_time_limit(0);
+ }
+
+ $this->_stateMachine = new CRM_Import_StateMachine($this, $action);
// create and instantiate the pages
$this->addPages($this->_stateMachine, $action);