Fixed a capability name: MDL-6727

This commit is contained in:
moodler 2006-09-28 15:06:07 +00:00
parent 5e6893720e
commit b7b0afb87f

View File

@ -375,7 +375,7 @@ function rss_display_feeds($courseid, $userid, $rssid='', $context) {
require_once($CFG->libdir.'/tablelib.php'); require_once($CFG->libdir.'/tablelib.php');
$select = ''; $select = '';
$managesharedfeeds = has_capability('block/rss_client:managesharedfeeds', $context); $managesharedfeeds = has_capability('block/rss_client:manageanyfeeds', $context);
$manageownfeeds = has_capability('block/rss_client:manageownfeeds', $context); $manageownfeeds = has_capability('block/rss_client:manageownfeeds', $context);
if ($rssid != '') { if ($rssid != '') {