]> git.mxchange.org Git - hub.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
debug code removed
[hub.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 1e536a2013a172414ec2ea65d9063178d7030757..dcc867b1b2158ae1917345c1051e134209c7a8eb 100644 (file)
@@ -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 <strong>%s</strong>=<strong>%s</strong>?<br />\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()
+                       )
                );
        }