Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20ab954
)
MDL-30202 forum : whitespace cleanup
author
Aparup Banerjee
<aparup@moodle.com>
Wed, 30 Nov 2011 07:44:16 +0000
(15:44 +0800)
committer
Aparup Banerjee
<aparup@moodle.com>
Wed, 30 Nov 2011 07:44:16 +0000
(15:44 +0800)
mod/forum/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/forum/lib.php
b/mod/forum/lib.php
index
a268855
..
798bc22
100644
(file)
--- a/
mod/forum/lib.php
+++ b/
mod/forum/lib.php
@@
-7505,7
+7505,7
@@
function forum_extend_settings_navigation(settings_navigation $settingsnav, navi
} else {
$userid = $USER->id;
}
-
+
$hascourseaccess = ($PAGE->course->id == SITEID) || can_access_course($PAGE->course, $userid);
$enablerssfeeds = !empty($CFG->enablerssfeeds) && !empty($CFG->forum_enablerssfeeds);