]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/action/web/class_WebActionResolver.php
readConfig() is not naming convention, renamed to getConfigEntry()
[core.git] / inc / classes / main / resolver / action / web / class_WebActionResolver.php
index 4f963db028e74d7247491249c6419a73515db772..2118ba7701c2e9f6bba9d0548a959fffef74d9e3 100644 (file)
@@ -89,7 +89,7 @@ class WebActionResolver extends BaseActionResolver implements ActionResolver {
                $actionName = $requestInstance->getRequestElement('action');
 
                // Is the action empty? Then fall back to default action
-               if (empty($actionName)) $actionName = $this->getConfigInstance()->readConfig('default_action');
+               if (empty($actionName)) $actionName = $this->getConfigInstance()->getConfigEntry('default_action');
 
                // Check if action is valid
                if ($this->isActionValid($actionName) === false) {
@@ -127,7 +127,7 @@ class WebActionResolver extends BaseActionResolver implements ActionResolver {
                $actionName = $this->getActionName();
 
                // Is the action empty? Then fall back to default action
-               if (empty($actionName)) $actionName = $this->getConfigInstance()->readConfig('default_action');
+               if (empty($actionName)) $actionName = $this->getConfigInstance()->getConfigEntry('default_action');
 
                // Check if action is valid
                if ($this->isActionValid($actionName) === false) {