diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-08 22:08:19 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-11-20 16:05:43 +0100 |
commit | 0265bcfdae6eff2ea87eb0f6de66e2eacb590820 (patch) | |
tree | 45333175470f4a822c727ca065bf6e5cadfda424 /settings/js/users/users.js | |
parent | 427d107b9f375f5667a3e8f40191edd46924fdb8 (diff) | |
download | nextcloud-server-0265bcfdae6eff2ea87eb0f6de66e2eacb590820.tar.gz nextcloud-server-0265bcfdae6eff2ea87eb0f6de66e2eacb590820.zip |
Moved changedisplayname to usercontroller
Killed the old static route to change a users display name and moved it
to a properly testable controller.
Diffstat (limited to 'settings/js/users/users.js')
-rw-r--r-- | settings/js/users/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 8ce9cb6ac7c..c20a21b060a 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -687,7 +687,7 @@ $(document).ready(function () { $div.imageplaceholder(uid, displayName); } $.post( - OC.filePath('settings', 'ajax', 'changedisplayname.php'), + OC.generateUrl('/settings/users/{id}/displayName', {id: uid}), {username: uid, displayName: $(this).val()}, function (result) { if (result && result.status==='success' && $div.length){ |