]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/points/class_UserPoints.php
Fix for method in FrameworkConfiguration, removal of unneccessary code
[core.git] / inc / classes / main / points / class_UserPoints.php
index 8da3eb94074a47a993daa6c0817dd3367ef82402..0e913d4e88d2232dbad9d75ab7eea435d63bb4c6 100644 (file)
@@ -35,10 +35,6 @@ class UserPoints extends BaseFrameworkSystem implements Registerable, BookablePo
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Clean up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
        }
 
        /**
@@ -89,7 +85,7 @@ class UserPoints extends BaseFrameworkSystem implements Registerable, BookablePo
                $hasRequired = false;
 
                // Get the required points entry
-               $requiredPoints = $this->getConfigInstance()->readConfig($action . '_action_points');
+               $requiredPoints = $this->getConfigInstance()->getConfigEntry($action . '_action_points');
 
                // Now get a search criteria and set the user's name as criteria
                $searchInstance = ObjectFactory::createObjectByConfiguredName('search_criteria_class');