diff options
Diffstat (limited to 'wiki/inc/Action/Cancel.php')
-rw-r--r-- | wiki/inc/Action/Cancel.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/wiki/inc/Action/Cancel.php b/wiki/inc/Action/Cancel.php deleted file mode 100644 index d4d8277..0000000 --- a/wiki/inc/Action/Cancel.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php - -namespace dokuwiki\Action; - -use dokuwiki\Action\Exception\ActionAbort; - -/** - * Class Cancel - * - * Alias for show. Aborts editing - * - * @package dokuwiki\Action - */ -class Cancel extends AbstractAliasAction { - - /** @inheritdoc */ - public function preProcess() { - global $ID; - unlock($ID); - - // continue with draftdel -> redirect -> show - throw new ActionAbort('draftdel'); - } - -} |