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:
3e5f439
)
MDL-44484 admin: Remove existing user theme check
author
Mathew May
<mathewm@hotmail.co.nz>
Wed, 8 May 2019 03:55:57 +0000
(15:55 +1200)
committer
Mathew May
<mathewm@hotmail.co.nz>
Wed, 8 May 2019 04:14:26 +0000
(16:14 +1200)
admin/tool/uploaduser/index.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/tool/uploaduser/index.php
b/admin/tool/uploaduser/index.php
index
2bc1206
..
019da51
100644
(file)
--- a/
admin/tool/uploaduser/index.php
+++ b/
admin/tool/uploaduser/index.php
@@
-648,15
+648,6
@@
if ($formdata = $mform2->is_cancelled()) {
}
}
}
}
}
}
- // Verify if the theme is valid and allowed to be set.
- if (isset($existinguser->theme)) {
- list($status, $message) = field_value_validators::validate_theme($existinguser->theme);
- if ($status !== 'normal' && !empty($message)) {
- $upt->track('status', $message, $status);
- // Unset the theme when validation fails.
- unset($existinguser->theme);
- }
- }
// changing of passwords is a special case
// do not force password changes for external auth plugins!
// changing of passwords is a special case
// do not force password changes for external auth plugins!