]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/html/class_HtmlLoginAreaCommand.php
Method convertToClassName() and convertDashesToUnderscores() are now static as
[core.git] / inc / classes / main / commands / html / class_HtmlLoginAreaCommand.php
index 555f246c91f34b21895bb9e97c13ad668885fab1..e1d0eb95d193b821585c9ff4ad86b18d3eb33bc8 100644 (file)
@@ -171,7 +171,7 @@ class HtmlLoginAreaCommand extends BaseCommand implements Commandable {
                $applicationInstance = $registryInstance->getInstance('application');
 
                // Default action is the one from configuration
-               $this->actionName = $this->convertDashesToUnderscores($applicationInstance->getAppShortName()) . '_login_' . $this->getConfigInstance()->getConfigEntry('login_default_action');
+               $this->actionName = self::convertDashesToUnderscores($applicationInstance->getAppShortName()) . '_login_' . $this->getConfigInstance()->getConfigEntry('login_default_action');
 
                // Get "action" from request
                $actReq = $requestInstance->getRequestElement('action');
@@ -179,7 +179,7 @@ class HtmlLoginAreaCommand extends BaseCommand implements Commandable {
                // Do we have a "action" parameter set?
                if ((is_string($actReq)) && (!empty($actReq))) {
                        // Then use it with prefix
-                       $this->actionName = $this->convertDashesToUnderscores($applicationInstance->getAppShortName()) . '_login_' . $actReq;
+                       $this->actionName = self::convertDashesToUnderscores($applicationInstance->getAppShortName()) . '_login_' . $actReq;
                } // END - if
 
                // Get application instance