Exemple #1
0
 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;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 function insertIntoDB()
 {
     $ret = parent::insertIntoDB();
     $this->updateDB();
     return $ret;
 }