summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-13 10:59:41 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-13 10:59:41 +0100
commit9d6f74c65eb51b88e6d93c85a725fbaac2ed8e4a (patch)
tree122dcd175b68574a3c63b03b3f39f712c2dbfb1f /settings/js
parentbc43dd704fc89188faadb42d313a41f8b2929c0c (diff)
downloadnextcloud-server-9d6f74c65eb51b88e6d93c85a725fbaac2ed8e4a.tar.gz
nextcloud-server-9d6f74c65eb51b88e6d93c85a725fbaac2ed8e4a.zip
missing piece after merge
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/users.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index 8b1e32163df..a70cf18ead3 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -346,12 +346,6 @@ $(document).ready(function () {
event.preventDefault();
var username = $('#newusername').val();
var password = $('#newuserpassword').val();
- if ($('#content table tbody tr').filterAttr('data-uid', username).length > 0) {
- OC.dialogs.alert(
- t('settings', 'The username is already being used'),
- t('settings', 'Error creating user'));
- return;
- }
if ($.trim(username) == '') {
OC.dialogs.alert(
t('settings', 'A valid username must be provided'),