]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/database/wrapper/class_UserPointsDatabaseWrapper.php
Also for UPDATE
[core.git] / inc / classes / main / database / wrapper / class_UserPointsDatabaseWrapper.php
index 33f24dde8af7790bd579ff451b150b062916a931..eb2a985c57dc4cc9a975804020a776f8cd3b85ba 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -52,7 +52,7 @@ class UserPointsDatabaseWrapper extends BaseDatabaseWrapper implements BookableP
         *
         * @return      $wrapperInstance        An instance of the created wrapper class
         */
-       public final static function createUserPointsDatabaseWrapper () {
+       public static final function createUserPointsDatabaseWrapper () {
                // Get a new instance
                $wrapperInstance = new UserPointsDatabaseWrapper();
 
@@ -80,7 +80,7 @@ class UserPointsDatabaseWrapper extends BaseDatabaseWrapper implements BookableP
                $pointsInstance->addElementsToDataSet($dataSetInstance);
 
                // "Insert" this request instance completely into the database
-               $this->getDatabaseInstance()->queryInsertDataSet($dataSetInstance);
+               $this->queryInsertDataSet($dataSetInstance);
        }
 
        /**