X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fpoints%2Fclass_UserPoints.php;h=b28e2948bf879509ed84e12413ebdb88c805621b;hp=13b210eba54818d47fc5e6be4070f55ed785aaae;hb=ac6e5437bc6a985903f3166020583825c9f08bf1;hpb=59e1674116910d2f89b97470ed5a3a1650aec99b diff --git a/inc/classes/main/points/class_UserPoints.php b/inc/classes/main/points/class_UserPoints.php index 13b210eb..b28e2948 100644 --- a/inc/classes/main/points/class_UserPoints.php +++ b/inc/classes/main/points/class_UserPoints.php @@ -2,11 +2,11 @@ /** * A class for handling user points which can be real or Internet currency * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team + * @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 @@ -101,7 +101,7 @@ class UserPoints extends BaseFrameworkSystem implements Registerable, BookablePo */ public function ifUserHasRequiredPoints ($action) { // Default is that everyone is poor... ;-) - $hasRequired = false; + $hasRequired = FALSE; // Get the required points entry $requiredPoints = $this->getConfigInstance()->getConfigEntry($action . '_action_points'); @@ -128,7 +128,7 @@ class UserPoints extends BaseFrameworkSystem implements Registerable, BookablePo * @param $amount Amount of points we shall book * @return void */ - function bookPointsDirectly ($amount) { + public function bookPointsDirectly ($amount) { // Rewind always $this->getResultInstance()->rewind();