summaryrefslogtreecommitdiffstats
path: root/js/controller/ContentController.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controller/ContentController.js')
-rw-r--r--js/controller/ContentController.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/js/controller/ContentController.js b/js/controller/ContentController.js
index 1d043945a..457700dca 100644
--- a/js/controller/ContentController.js
+++ b/js/controller/ContentController.js
@@ -223,20 +223,4 @@ app.controller('ContentController', function (Publisher, FeedResource, ItemResou
this.activeItem = this.getFirstItem();
- this.userList = [];
-
- this.searchUsers = function(search) {
- // TODO: search === undefined 🤢 je pense pas que c'est ouf comme syntaxe
- if (search === '' || search === undefined) {
- this.userList = [];
- return;
- }
-
- // TODO: bug - requetes retardataires (regarder issues git)
- var response = ShareResource.getUsers(search);
- response.then((response) => {
- this.userList = response.ocs.data.users;
- });
- };
-
}); \ No newline at end of file