public function changeEmail()
    {
        $this->email = $this->new_email;
        $this->new_email = null;
        $this->removeEmailToken();
        return $this->save();
    }
public function changeEmail()
    {
        $this->email = $this->new_email;
        $this->new_email = null;
        $this->removeEmailToken();
        return $this->save();
    }
public function changeEmail ( ) { $ this -> email = $ this -> new_email ; $ this -> new_email = null ; $ this -> removeEmailToken ( ) ; return $ this -> save ( ) ; }
Changes email address.
@return bool
Changes email address .