Permalink
Browse files

"MDL-17143, remove debug code"

  • Loading branch information...
1 parent 6bdd680 commit 32a73b3b64fa231b14571296c2f6b9b4172b02c7 dongsheng committed Nov 18, 2008
Showing with 0 additions and 1 deletion.
  1. +0 −1 user/view.php
View
@@ -186,7 +186,6 @@
if ($user->description && !isset($hiddenfields['description'])) {
$has_courseid = ($course->id != SITEID);
- $CFG->profilesforenrolledusersonly = true;
if (!$has_courseid && !empty($CFG->profilesforenrolledusersonly)
&& !record_exists('role_assignments', 'userid', $id)) {
echo get_string('profilenotshown', 'moodle').'<hr />';

0 comments on commit 32a73b3

Please sign in to comment.