Skip to content

Commit

Permalink
Added a little option to disable user image upload
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Dec 11, 2003
1 parent 404cfbb commit f1de6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/edit.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@


<?php <?php
$maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes); $maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
if (!empty($CFG->gdversion) and $maxbytes) { if (!empty($CFG->gdversion) and $maxbytes and empty($CFG->disableuserimages)) {
?> ?>
<tr valign=top> <tr valign=top>
<td><p><?php print_string("newpicture") ?>:</td> <td><p><?php print_string("newpicture") ?>:</td>
Expand Down

0 comments on commit f1de6e8

Please sign in to comment.