X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fdatabase%2Fclass_;h=1fdbd071bf1e365b33bb526669ecac4d98965a92;hb=c59dccf46c5d0e3b7f2687370b2b15023b1ecdfe;hp=661b38fcf609b2ae50c1081802ebafa7158135e2;hpb=1f1f351e726dae5d4cd25b46639c2fcaa9e38661;p=hub.git diff --git a/inc/classes/main/database/class_ b/inc/classes/main/database/class_ index 661b38fcf..1fdbd071b 100644 --- a/inc/classes/main/database/class_ +++ b/inc/classes/main/database/class_ @@ -5,9 +5,9 @@ * @see DatabaseFrontendInterface - An interface for database frontends (front-end to the application) * @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 + * @link http://www.ship-simu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,15 +28,9 @@ class extends BaseDatabaseFrontend { * * @return void */ - protected function __construct($class) { + protected function __construct($class = __CLASS__) { // Call parent constructor - parent::constructor(__CLASS__); - - // Set part description - $this->setObjectDescription(""); - - // Create unique ID number - $this->createUniqueID(); + parent::__construct($class); // Clean up a little $this->removeNumberFormaters();