From 46b3f1c3a746044ae868c06bf3027e0a3ea27433 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 May 2008 07:02:53 -0400 Subject: remove validation code darcs-hash:20080521110253-84dde-e8d6f62225bb56f5e08b28b35d23ccfbe56984fd.gz --- classes/Avatar.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'classes/Avatar.php') 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'))); - } } -- cgit v1.2.3-54-g00ecf