summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-21 07:02:53 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-21 07:02:53 -0400
commit46b3f1c3a746044ae868c06bf3027e0a3ea27433 (patch)
tree6326d60d0dc7afdda472b383ceb17af46f096f07 /classes/User.php
parent82c05d389ab0a0bb64a339d0cf3547d3c6ada3ae (diff)
remove validation code
darcs-hash:20080521110253-84dde-e8d6f62225bb56f5e08b28b35d23ccfbe56984fd.gz
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php9
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));
- }
}