CoreFiles by mySites.guru
mod_latestactions.php27 lines, 737 bytes, from Joomla_5.0.0-Stable-Full_Package.zip
Raw History Compare with 4.4.14
md5
c5e63ab5b3d86e1a71a39d1e696065ec
sha1
26faf87525502428a95ab57f67a3e55baba4727a
sha256
ec11ca50bde3a7cbcf8dc95b3d522649b37a9cbdb34ca6273910c5dcbaba0e8e
<?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 15 releases, Joomla 5.0.0-rc to 5.1.0-alpha4. See them all, or every version of this file.