diff options
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/classes/User.php b/classes/User.php index 16cafa635..41441a21d 100644 --- a/classes/User.php +++ b/classes/User.php @@ -60,13 +60,4 @@ class User extends DB_DataObject $sub->subscribed = $other->id; return $sub->find(); } - - function validateEmail() { - return Validate::email($this->email, true); - } - - function validateNickname() { - return Validate::string($this->nickname, array('min_length' => 1, 'max_length' => 64, - 'format' => VALIDATE_ALPHA_LOWER . VALIDATE_NUM)); - } } |