/** * @return bool */ public function apply() { if (empty($_GET['upd220'])) { $this->logs[] = _CONFIRM_UPGRADE_220; $res = false; } else { $res = parent::apply(); } return $res; }
/** * __construct * * make sure we have XMF active */ public function __construct() { parent::__construct(basename(__DIR__)); }