]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/criteria/update/class_UpdateCriteria.php
Updated copyright:
[core.git] / inc / classes / main / criteria / update / class_UpdateCriteria.php
index 9508c45fa755f2b65dee5ed059ccd129832a6bee..e31d64be3af0a5759a70eea04bb88b83fdd99e98 100644 (file)
@@ -4,11 +4,11 @@
  * you are looking for a ship or company, or what ever. Instead use this class
  * for looking in storages like the database.
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.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
@@ -54,7 +54,7 @@ class UpdateCriteria extends BaseCriteria implements LocalUpdateCriteria {
         *
         * @return      $criteriaInstance       An instance of this criteria
         */
-       public final static function createUpdateCriteria () {
+       public static final function createUpdateCriteria () {
                // Get a new instance
                $criteriaInstance = new UpdateCriteria();
 
@@ -82,7 +82,7 @@ class UpdateCriteria extends BaseCriteria implements LocalUpdateCriteria {
         */
        public function addConfiguredCriteria ($criteriaKey, $configEntry) {
                // Add the configuration entry as a criteria
-               $value = $this->getConfigInstance()->readConfig($configEntry);
+               $value = $this->getConfigInstance()->getConfigEntry($configEntry);
                $this->addCriteria($criteriaKey, $value);
        }