From: Roland Häder Date: Mon, 3 Mar 2008 23:26:49 +0000 (+0000) Subject: debug code removed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ca13e70db707f0eb394239a1abd9709e55a5eb01;p=hub.git debug code removed --- 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() + ) ); }