Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a little option to disable user image upload

  • Loading branch information...
commit f1de6e874f97ce1801141e53cda7b37c3ad324cc 1 parent 404cfbb
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  user/edit.html
View
2  user/edit.html
@@ -179,7 +179,7 @@
<?php
$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>
<td><p><?php print_string("newpicture") ?>:</td>
Please sign in to comment.
Something went wrong with that request. Please try again.