| Defined | inc/functions_upload.php:185 |
|---|
| parameters | srray | $avatar | incoming FILE array, if we have one - otherwise takes $_FILES['avatarupload'] |
| string | $uid | User ID this avatar is being uploaded for, if not the current user | |
| return | array | Array of errors if any, otherwise filename of successful. |
Upload a new avatar in to the file system