<?php


namespace Nextend\SmartSlider3\Application\Admin\Update;


use JRoute;
use Nextend\SmartSlider3\Application\Admin\AbstractControllerAdmin;

class ControllerUpdate extends AbstractControllerAdmin {

    public function actionUpdate() {
        if ($this->validateToken()) {
            header('LOCATION: ' . JRoute::_('index.php?option=com_installer&view=update', false));
            exit;
        
        }

        $this->redirectToSliders();
    }
}