summaryrefslogtreecommitdiff
path: root/classes/Avatar.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/Avatar.php
parent82c05d389ab0a0bb64a339d0cf3547d3c6ada3ae (diff)
remove validation code
darcs-hash:20080521110253-84dde-e8d6f62225bb56f5e08b28b35d23ccfbe56984fd.gz
Diffstat (limited to 'classes/Avatar.php')
-rw-r--r--classes/Avatar.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/Avatar.php b/classes/Avatar.php
index 7af42c617..bf428edac 100644
--- a/classes/Avatar.php
+++ b/classes/Avatar.php
@@ -25,16 +25,4 @@ class Avatar extends DB_DataObject
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
-
- function validateMediatype() {
- return Validate::string($this->mediatype, array('min_length' => 1, 'max_length' => 32));
- }
-
- function validateFilename() {
- return Validate::string($this->filename, array('min_length' => 1, 'max_length' => 255));
- }
-
- function validateUrl() {
- return Validate::uri($this->url, array('allowed_schemes' => array('http', 'https')));
- }
}