xref: /dokuwiki/inc/Action/Recover.php (revision d4f83172d9533c4d84f450fe22ef630816b21d75)
1f21dad39SAndreas Gohr<?php
2f21dad39SAndreas Gohr
3f21dad39SAndreas Gohrnamespace dokuwiki\Action;
4f21dad39SAndreas Gohr
5f21dad39SAndreas Gohruse dokuwiki\Action\Exception\ActionAbort;
6f21dad39SAndreas Gohr
7ab583a1bSAndreas Gohr/**
8ab583a1bSAndreas Gohr * Class Recover
9ab583a1bSAndreas Gohr *
10ab583a1bSAndreas Gohr * Recover a draft
11ab583a1bSAndreas Gohr *
12ab583a1bSAndreas Gohr * @package dokuwiki\Action
13ab583a1bSAndreas Gohr */
148c7c53b0SAndreas Gohrclass Recover extends AbstractAliasAction
158c7c53b0SAndreas Gohr{
1679a2d784SGerrit Uitslag    /**
1779a2d784SGerrit Uitslag     * @inheritdoc
1879a2d784SGerrit Uitslag     * @throws ActionAbort
1979a2d784SGerrit Uitslag     */
20*d868eb89SAndreas Gohr    public function preProcess()
21*d868eb89SAndreas Gohr    {
22f21dad39SAndreas Gohr        throw new ActionAbort('edit');
23f21dad39SAndreas Gohr    }
24f21dad39SAndreas Gohr}
25