summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index f742d4326..eb08dde52 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -50,9 +50,4 @@ class Notice extends DB_DataObject
function validateContent() {
return Validate::string($this->content, array('min_length' => 1, 'max_length' => 140));
}
-
- function validateUrl() {
- return is_null($this->url) || (strlen($this->url) == 0) ||
- Validate::uri($this->url, array('allowed_schemes' => array('http', 'https')));
- }
}