public function __construct() { parent::__construct(); // core seamless update $this->__update(); // module update if (!self::$module_updated) { self::$module_updated = TRUE; $this->__update_module(); } }
public function __construct() { parent::__construct(); // core seamless update $this->db->trans_start(); $this->__update(); $this->db->trans_complete(); // module update if (!self::$module_updated) { self::$module_updated = true; $this->__update_module(); } }