From 6bf60b1accb36abe10787a06fc4d663f0c78efa9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 8 Jul 2018 09:00:53 +0200 Subject: [PATCH] Continued: - better keep logic that is around such regular expressions in a nice utilities class MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../classes/class_BaseFrameworkSystem.php | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index 18a2c2c9..2dd3dba6 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -272,11 +272,6 @@ abstract class BaseFrameworkSystem extends stdClass implements FrameworkInterfac */ private $socketResource = false; - /** - * Regular expression to use for validation - */ - private $regularExpression = ''; - /** * Package data */ @@ -1146,27 +1141,6 @@ abstract class BaseFrameworkSystem extends stdClass implements FrameworkInterfac return $this->socketResource; } - /** - * Setter for regular expression - * - * @param $regularExpression A valid regular expression - * @return void - */ - public final function setRegularExpression ($regularExpression) { - //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput($this->__toString() . '::' . __FUNCTION__ . ': regularExpression=' . $regularExpression . ',previous[' . gettype($this->regularExpression) . ']=' . $this->regularExpression); - $this->regularExpression = $regularExpression; - } - - /** - * Getter for regular expression - * - * @return $regularExpression A valid regular expression - */ - public final function getRegularExpression () { - //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput($this->__toString() . '::' . __FUNCTION__ . ': regularExpression[' . gettype($this->regularExpression) . ']=' . $this->regularExpression); - return $this->regularExpression; - } - /** * Setter for helper instance * -- 2.39.5