Permalink
Browse files

MDL-44295 auth: Update truncate_userinfo to match current DB fields s…

…ize.
  • Loading branch information...
1 parent 8911797 commit 61ebf8e5af762f6636b3662fac111819b13cfe30 Mathieu Petit-Clair committed Mar 19, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/moodlelib.php
View
6 lib/moodlelib.php
@@ -4120,9 +4120,9 @@ function truncate_userinfo(array $info) {
'icq' => 15,
'phone1' => 20,
'phone2' => 20,
- 'institution' => 40,
- 'department' => 30,
- 'address' => 70,
+ 'institution' => 255,
+ 'department' => 255,
+ 'address' => 255,
'city' => 120,
'country' => 2,
'url' => 255,

0 comments on commit 61ebf8e

Please sign in to comment.