From 9781c5a0452bd661b7f2a5fb2da358d20ec6ab3b Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 20 May 2014 20:30:00 +0200 Subject: [PATCH] Remove duplicate super constructor. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/class_BaseFrameworkSystem.php | 14 -------------- inc/classes/main/index/class_BaseIndex.php | 3 +++ 2 files changed, 3 insertions(+), 14 deletions(-) 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(); } /** -- 2.39.5