From: Roland Haeder Date: Tue, 20 May 2014 18:30:00 +0000 (+0200) Subject: Remove duplicate super constructor. X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=9781c5a0452bd661b7f2a5fb2da358d20ec6ab3b Remove duplicate super constructor. Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 21906224..0041d37d 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -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, diff --git a/inc/classes/main/index/class_BaseIndex.php b/inc/classes/main/index/class_BaseIndex.php index 046ec736..1f83f37b 100644 --- a/inc/classes/main/index/class_BaseIndex.php +++ b/inc/classes/main/index/class_BaseIndex.php @@ -54,6 +54,9 @@ class BaseIndex extends BaseFrameworkSystem { self::LENGTH_COUNT + strlen(self::SEPARATOR_HEADER_ENTRIES) ); + + // Init counters and gaps array + $this->initCountersGapsArray(); } /**