Skip to content

Commit

Permalink
namespace pluginhelper
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Aug 19, 2017
1 parent 38cb411 commit 70b7288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion administrator/modules/mod_sampledata/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\PluginHelper;

/**
* Helper for mod_sampledata
Expand All @@ -27,7 +28,7 @@ abstract class ModSampledataHelper
*/
public static function getList()
{
JPluginHelper::importPlugin('sampledata');
PluginHelper::importPlugin('sampledata');
$data = Factory::getApplication()->triggerEvent('onSampledataGetOverview', array('test', 'foo'));

return $data;
Expand Down

0 comments on commit 70b7288

Please sign in to comment.