Commit ef597187 authored by Alexandre Laroche's avatar Alexandre Laroche Committed by GitHub

Use OC.getCurrentUser().uid

parent 6d8dfaee
......@@ -26,7 +26,7 @@ var UserList = {
initialize: function($el) {
this.$el = $el;
UserList.currentUser = document.getElementsByTagName('head')[0].getAttribute('data-user');
UserList.currentUser = OC.getCurrentUser().uid;
// initially the list might already contain user entries (not fully ajaxified yet)
// initialize these entries
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment