CoreFiles by mySites.guru
mod_latestactions.php28 lines, 729 bytes, from Joomla_4.0.3-Stable-Full_Package.zip
Raw History Compare with 4.0.2
md5
31bfcbba5113a0ca3277278256367e5d
sha1
ca66675da3275599a3664e227aa034573b33367d
sha256
8db0375ddddc6a37eea5059e2983e8685e6f26cfd9def327cb9eb06afd9b6de4
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_latestactions
 *
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Module\LatestActions\Administrator\Helper\LatestActionsHelper;

// Only super user can view this data
if (!$app->getIdentity()->authorise('core.admin'))
{
	return;
}

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

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

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

The same content is in 51 releases, Joomla 4.0.0-beta6 to 4.2.0-beta2. See them all, or every version of this file.