aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/DataFieldEmailEntry.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/DataFieldEmailEntry.class.php')
-rw-r--r--lib/classes/DataFieldEmailEntry.class.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/classes/DataFieldEmailEntry.class.php b/lib/classes/DataFieldEmailEntry.class.php
deleted file mode 100644
index aafe7bb..0000000
--- a/lib/classes/DataFieldEmailEntry.class.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-# Lifter002: DONE
-# Lifter007: TEST
-
-/**
- * @author Jan-Hendrik Willms <tleilax+studip@gmail.com>
- * @author Marcus Lunzenauer <mlunzena@uos.de>
- * @author Martin Gieseking <mgieseki@uos.de>
- * @license GPL2 or any later version
- */
-class DataFieldEmailEntry extends DataFieldEntry
-{
- protected $template = 'email.php';
-
- /**
- * Returns whether the datafield contents are valid
- *
- * @return boolean indicating whether the datafield contents are valid
- */
- public function isValid()
- {
- return parent::isValid()
- && (!$this->getValue() || filter_var($this->getValue(), FILTER_VALIDATE_EMAIL));
- }
-}