MDL-64959 uploaduser: remove leading/trailing spaces from CSV headings
authorAbhimanyu Kumar <abhimanyukrsingh00@gmail.com>
Sat, 23 Mar 2019 12:42:44 +0000 (18:12 +0530)
committerAbhimanyu Kumar <abhimanyukrsingh00@gmail.com>
Sat, 23 Mar 2019 17:03:51 +0000 (22:33 +0530)
commit9fff4ebb0ae78a93ddfa3e4f20581baa8b30b84c
tree5c0d7e15e06498f547df178b3ee3e91f4cb54519
parent3271c39c74bf7045272318b41f41b1f57385dcb0
MDL-64959 uploaduser: remove leading/trailing spaces from CSV headings

Earlier while uploading users via CSV, if any leading or trailing space was there in
headings of CSV file then error was displayed which will be difficult for a non-technical
person to understand. After this patch, leading and trailing spaces from headings will
be trimmed automatically.
admin/tool/uploaduser/locallib.php