From ca13e70db707f0eb394239a1abd9709e55a5eb01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 3 Mar 2008 23:26:49 +0000 Subject: [PATCH] debug code removed --- inc/classes/main/class_BaseFrameworkSystem.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 1e536a201..dcc867b1b 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -569,11 +569,6 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { * @return boolean The result of comparing both's unique ID */ public final function equals ($object) { - if ((defined('DEBUG_SYSTEM')) && (is_object($this->getDebugInstance()))) $this->getDebugInstance()->output(sprintf("[%s:] Ist %s=%s?
\n", - $this->__toString(), - $this->__toString(), - $object->__toString() - )); return ($this->getUniqueID() == $object->getUniqueID()); } @@ -586,8 +581,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { */ public function itemMatches ($itemInstance) { return ( - ($this->__toString() == $itemInstance->__toString()) - && ($this->getPartDescr() == $itemInstance->getPartDescr()) + ( + $this->__toString() == $itemInstance->__toString() + ) && ( + $this->getPartDescr() == $itemInstance->getPartDescr() + ) ); } -- 2.39.5