Used more DatabaseWrapperFactory as one instance of each is fine.
[core.git] / inc / classes / main / database / frontend / class_NewsDatabaseWrapper.php
index 80a2a8ef460a55893b7060c54f9587e87842fbb6..328a0e295d775ac568c078ed541d9c27ab5d1bb1 100644 (file)
@@ -7,6 +7,7 @@
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
+ * @todo               Add missing own interface for public methods
  *
  * 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
@@ -21,7 +22,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class NewsDatabaseWrapper extends BaseDatabaseWrapper {
+class NewsDatabaseWrapper extends BaseDatabaseWrapper implements Registerable {
        // Constants for database table names
        const DB_TABLE_NEWS = 'news';