CoreFiles by mySites.guru
mod_latestactions.php27 lines, 736 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
6ec3c5afeb4514676560820e65561d35
sha1
47966b6cd3d8151c1a5e2d43224a22d983d305ee
sha256
d7ea38c6589d033b770046ac94efeef5c67616c5940ad92f0219a3d285142504
<?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 82 releases, Joomla 4.2.0-beta3 to 5.0.0-beta3. See them all, or every version of this file.