function insertIntoDB() { if ($this->checkLogin($this->customerLogin)) { $ret = parent::insertIntoDB(); } else { throw new MyException("This login {$this->customerLogin} already used, probably double submit?"); } return $ret; }
function insertIntoDB() { if ($this->checkLogin($this->userEmail) || $this->userReferalID > 0 || $_POST['tourUserCommentsRegVia']) { $this->{$this->_datefield} = '0'; $ret = parent::insertIntoDB(); } else { throw new MyException("This login {$this->userEmail} already used, probably double submit?"); } global $DBCLASS; $DBCLASS->expireUsers(); return $ret; }
function insertIntoDB() { $ret = parent::insertIntoDB(); $this->updateDB(); return $ret; }