Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MDL-15860 - add global portfolio enabled switch
[moodle.git]
/
user
/
tabs.php
diff --git
a/user/tabs.php
b/user/tabs.php
index
5316659
..
b905bf4
100644
(file)
--- a/
user/tabs.php
+++ b/
user/tabs.php
@@
-239,7
+239,7
@@
}
}
- if (empty($userindexpage) && $user->id == $USER->id) {
+ if (empty($userindexpage) && $user->id == $USER->id
&& !empty($CFG->portfolioenabled)
) {
/// Portfolio tab
require_once($CFG->libdir . '/portfoliolib.php');