diff options
author | ahriman <ahriman@falte.red> | 2019-01-02 04:57:35 +0000 |
---|---|---|
committer | ahriman <ahriman@falte.red> | 2019-01-02 04:57:35 +0000 |
commit | 2bd7f83a6495011ada78ca8a9f2af417caf01760 (patch) | |
tree | f9acdb7f09e011c65330ab993d4db3620787dbfb /wiki/inc/Action/Cancel.php | |
parent | bcb215c3a7e914d05f166846a33860e48bba64fb (diff) | |
download | site-2bd7f83a6495011ada78ca8a9f2af417caf01760.tar.gz |
removed dokuwiki
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'); - } - -} |