aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Action/Denied.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/Action/Denied.php')
-rw-r--r--inc/Action/Denied.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/Action/Denied.php b/inc/Action/Denied.php
index ab2f0d8f4..14cbd8953 100644
--- a/inc/Action/Denied.php
+++ b/inc/Action/Denied.php
@@ -2,6 +2,7 @@
namespace dokuwiki\Action;
+use dokuwiki\Ui\Login;
use dokuwiki\Extension\Event;
use dokuwiki\Ui;
@@ -30,7 +31,7 @@ class Denied extends AbstractAction
if ($event->advise_before()) {
global $INPUT;
if (empty($INPUT->server->str('REMOTE_USER')) && actionOK('login')) {
- (new Ui\Login)->show();
+ (new Login())->show();
}
}
$event->advise_after();
@@ -46,7 +47,6 @@ class Denied extends AbstractAction
public function showBanner()
{
// print intro
- print p_locale_xhtml('denied');
+ echo p_locale_xhtml('denied');
}
-
}