| Current Path : /home/antonen/keliauk-uk.lt/administrator/components/com_rsfirewall/controllers/ |
| Current File : /home/antonen/keliauk-uk.lt/administrator/components/com_rsfirewall/controllers/feed.php |
<?php
/**
* @package RSFirewall!
* @copyright (c) 2009 - 2017 RSJoomla!
* @link https://www.rsjoomla.com
* @license GNU General Public License http://www.gnu.org/licenses/gpl-3.0.en.html
*/
defined('_JEXEC') or die('Restricted access');
class RsfirewallControllerFeed extends JControllerForm
{
public function __construct() {
parent::__construct();
}
protected function allowAdd($data = array()) {
$user = JFactory::getUser();
return $user->authorise('feeds.manage', 'com_rsfirewall');
}
protected function allowEdit($data = array(), $key = 'id') {
$user = JFactory::getUser();
return $user->authorise('feeds.manage', 'com_rsfirewall');
}
}