public static function disable_time_management($val = true) { self::$disable_time_management = $val; }
protected function update_process() { @set_time_limit(0); // console if ($this->CLI) { PatchUtil::disable_time_management(); $this->perform_update_start(); $this->perform_update_patches(false); $this->perform_update_end(); $this->quit(__('Done')); } // browser $up = & $_GET['up']; if ($up == 'start') { $this->perform_update_start(); $this->redirect(array('up' => 'patches')); } elseif ($up == 'patches') { $success = $this->perform_update_patches(); if ($success) { $this->redirect(array('up' => 'end')); } } elseif ($up == 'end') { $this->perform_update_end(); $this->redirect(get_epesi_url()); } else { $this->update_body(); } }