]> source.dussan.org Git - nextcloud-server.git/commit
Expose display name in JS side
authorVincent Petry <pvince81@owncloud.com>
Mon, 1 Feb 2016 14:11:42 +0000 (15:11 +0100)
committerVincent Petry <pvince81@owncloud.com>
Tue, 2 Feb 2016 17:01:15 +0000 (18:01 +0100)
commit3b581b051f33e141ba0c76c8bcde104ce65826c2
treef53fdf228a7266f9adf60f7ed61bbcd36fad38da
parent67a36a2cca65df4d4775e9ae5e1c0e51172ae081
Expose display name in JS side

Adds a new method `OC.getCurrentUser` to get both the user id and
display name Could be used for a future Js
core/js/js.js
core/templates/layout.user.php