CoreFiles by mySites.guru
mod_latestactions.php31 lines, 793 bytes, from Joomla_3.9.13-Stable-Full_Package.zip
Raw History Compare with 3.9.12
md5
82250cfdad936d674cff1b3aef98ddcd
sha1
fbb383ec188c72d23d37615cac3efa065ae5b7d5
sha256
9935e70b04d8f984c07b789ee5ae06ee0b61cf9ab551e8f839521f5c71c354f8
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_latestactions
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Helper\ModuleHelper;

// Only super user can view this data
if (!Factory::getUser()->authorise('core.admin'))
{
	return;
}

// Include dependencies.
JLoader::register('ModLatestActionsHelper', __DIR__ . '/helper.php');

$list = ModLatestActionsHelper::getList($params);

if ($params->get('automatic_title', 0))
{
	$module->title = ModLatestActionsHelper::getTitle($params);
}

require ModuleHelper::getLayoutPath('mod_latestactions', $params->get('layout', 'default'));

The same content is in 28 releases, Joomla 3.9.2-rc to 4.0.0-alpha10. See them all, or every version of this file.