mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Fixed a capability name: MDL-6727
This commit is contained in:
parent
5e6893720e
commit
b7b0afb87f
@ -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 != '') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user