X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffactories%2Fclass_BaseFactory.php;h=3fd5510c674103f4472cd72df86ac138dbcd88ea;hb=7940f3ad709afe4ba58012aa835c82cecc9328cc;hp=db2611c28913aa784557c8d4b945eda19865cf59;hpb=ae8e18a05aac5146cfd992090deac2e78d47fc05;p=mailer.git diff --git a/inc/classes/main/factories/class_BaseFactory.php b/inc/classes/main/factories/class_BaseFactory.php index db2611c289..3fd5510c67 100644 --- a/inc/classes/main/factories/class_BaseFactory.php +++ b/inc/classes/main/factories/class_BaseFactory.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -30,15 +30,12 @@ class BaseFactory extends BaseFrameworkSystem { /** * Protected constructor * - * @param $class Name of the real class (not BaseFactory) + * @param $className Name of the real class (not BaseFactory) * @return void */ - protected function __construct ($class) { + protected function __construct ($className) { // Call parent constructor - parent::__construct($class); - - // Create unique ID number - $this->createUniqueID(); + parent::__construct($className); // Clean up a little $this->removeNumberFormaters();