CoreFiles by mySites.guru
messages.php20 lines, 645 bytes, from Joomla_3.8.13-Stable-Full_Package.zip
Raw History Compare with 3.8.12
md5
438846f8ad479ca8e6a4d8d34c92e5b0
sha1
4814da119db6e1ea980b16d8831cfdcf2ac617ea
sha256
55429a7987d97d8c778fba20774a3c6d0bcebbaaff6fb2d571f83a087c4bf9cf
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_messages
 *
 * @copyright   Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

if (!JFactory::getUser()->authorise('core.manage', 'com_messages'))
{
	throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
}

$task       = JFactory::getApplication()->input->get('task');
$controller = JControllerLegacy::getInstance('Messages');
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();

The same content is in 29 releases, Joomla 3.8.4-rc to 3.9.1. See them all, or every version of this file.