aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Action/Diff.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2023-09-02 14:42:51 +0200
committerGitHub <noreply@github.com>2023-09-02 14:42:51 +0200
commit5ff5424d8c81c7123d8656a787af2ff85b3dec21 (patch)
tree322929ee01d892bb3c927e7fe1238369c647f820 /inc/Action/Diff.php
parent0613df3287b82a98b1e97cf86ed9d4c8fbd16f1c (diff)
parent91560755291852b8302767d454183a7662666f7e (diff)
downloaddokuwiki-5ff5424d8c81c7123d8656a787af2ff85b3dec21.tar.gz
dokuwiki-5ff5424d8c81c7123d8656a787af2ff85b3dec21.zip
Merge pull request #4045 from dokuwiki/autofix
Use Rector to autofix code smell
Diffstat (limited to 'inc/Action/Diff.php')
-rw-r--r--inc/Action/Diff.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/Action/Diff.php b/inc/Action/Diff.php
index 31024b6cd..c12de9cab 100644
--- a/inc/Action/Diff.php
+++ b/inc/Action/Diff.php
@@ -2,6 +2,7 @@
namespace dokuwiki\Action;
+use dokuwiki\Ui\PageDiff;
use dokuwiki\Ui;
/**
@@ -35,7 +36,6 @@ class Diff extends AbstractAction
public function tplContent()
{
global $INFO;
- (new Ui\PageDiff($INFO['id']))->preference('showIntro', true)->show();
+ (new PageDiff($INFO['id']))->preference('showIntro', true)->show();
}
-
}