Remove duplicate super constructor.
authorRoland Haeder <roland@mxchange.org>
Tue, 20 May 2014 18:30:00 +0000 (20:30 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 20 May 2014 18:30:00 +0000 (20:30 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/class_BaseFrameworkSystem.php
inc/classes/main/index/class_BaseIndex.php

index 2190622418c9ef09505255f67a29e7f326330eae..0041d37dd2d66d50302e42a7a8065c4c2b49c8ed 100644 (file)
@@ -2843,20 +2843,6 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                return $translated;
        }
 
-       /**
-        * Protected constructor
-        *
-        * @param       $className      Name of the class
-        * @return      void
-        */
-       protected function __construct ($className) {
-               // Call parent constructor
-               parent::__construct($className);
-
-               // Init counters and gaps array
-               $this->initCountersGapsArray();
-       }
-
        /**
         * Initializes counter for valid entries, arrays for damaged entries and
         * an array for gap seek positions. If you call this method on your own,
index 046ec73613b8910e413be723767eff1d7ae4a2d8..1f83f37ba96146b092101346989bfe6201dd8fc8 100644 (file)
@@ -54,6 +54,9 @@ class BaseIndex extends BaseFrameworkSystem {
                        self::LENGTH_COUNT +
                        strlen(self::SEPARATOR_HEADER_ENTRIES)
                );
+
+               // Init counters and gaps array
+               $this->initCountersGapsArray();
        }
 
        /**