Classifieds Fixed Listing controller missing action undelete

Affected version
1.0.13

Kirby

Active Member
Well, title says it all ;)

Z61\Pub\Controller\Listing is missing smth. like

PHP:
public function actionUndelete(ParameterBag $params)
{
    $listing = $this->assertViewableListing($params->listing_id);

    /** @var \XF\ControllerPlugin\Undelete $plugin */
    $plugin = $this->plugin('XF:Undelete');
    return $plugin->actionUndelete(
        $listing,
        $this->buildLink('classifieds/undelete', $listing),
        $this->buildLink('classifieds', $listing),
        $listing->title,
        'listing_state'
    );
}
 
Top