@copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html A sermon distributor that links to Dropbox. /----------------------------------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); use Joomla\Utilities\ArrayHelper; /** * Manual_updater Controller */ class SermondistributorControllerManual_updater extends JControllerAdmin { protected $text_prefix = 'COM_SERMONDISTRIBUTOR_MANUAL_UPDATER'; /** * Proxy for getModel. * @since 2.5 */ public function getModel($name = 'Manual_updater', $prefix = 'SermondistributorModel', $config = array()) { $model = parent::getModel($name, $prefix, array('ignore_request' => true)); return $model; } public function dashboard() { $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor', false)); return; } public function gotoExternalSources() { JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); $this->setRedirect(JRoute::_('index.php?option=com_sermondistributor&view=external_sources', false)); return; } }