diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-20 11:17:13 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-10-21 09:09:26 +0200 |
commit | 103bf6dd287a70d48a8e47543873708056b7fe0f (patch) | |
tree | b6be6936b0514806473a75bdac6c63ae6f3465d7 /settings/js/users | |
parent | 0b1fb180a53fc4e533e2f194977293bc509c5df3 (diff) | |
download | nextcloud-server-103bf6dd287a70d48a8e47543873708056b7fe0f.tar.gz nextcloud-server-103bf6dd287a70d48a8e47543873708056b7fe0f.zip |
Switch to public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/js/users')
-rw-r--r-- | settings/js/users/users.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js index d25f9d92db2..3a357c0e9c4 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -875,10 +875,10 @@ $(document).ready(function () { $('#CheckboxStorageLocation').click(function() { if ($('#CheckboxStorageLocation').is(':checked')) { $("#userlist .storageLocation").show(); - OC.AppConfig.setValue('core', 'umgmt_show_storage_location', 'true'); + OCP.AppConfig.setValue('core', 'umgmt_show_storage_location', 'true'); } else { $("#userlist .storageLocation").hide(); - OC.AppConfig.setValue('core', 'umgmt_show_storage_location', 'false'); + OCP.AppConfig.setValue('core', 'umgmt_show_storage_location', 'false'); } }); @@ -889,10 +889,10 @@ $(document).ready(function () { $('#CheckboxLastLogin').click(function() { if ($('#CheckboxLastLogin').is(':checked')) { $("#userlist .lastLogin").show(); - OC.AppConfig.setValue('core', 'umgmt_show_last_login', 'true'); + OCP.AppConfig.setValue('core', 'umgmt_show_last_login', 'true'); } else { $("#userlist .lastLogin").hide(); - OC.AppConfig.setValue('core', 'umgmt_show_last_login', 'false'); + OCP.AppConfig.setValue('core', 'umgmt_show_last_login', 'false'); } }); @@ -903,10 +903,10 @@ $(document).ready(function () { $('#CheckboxEmailAddress').click(function() { if ($('#CheckboxEmailAddress').is(':checked')) { $("#userlist .mailAddress").show(); - OC.AppConfig.setValue('core', 'umgmt_show_email', 'true'); + OCP.AppConfig.setValue('core', 'umgmt_show_email', 'true'); } else { $("#userlist .mailAddress").hide(); - OC.AppConfig.setValue('core', 'umgmt_show_email', 'false'); + OCP.AppConfig.setValue('core', 'umgmt_show_email', 'false'); } }); @@ -917,10 +917,10 @@ $(document).ready(function () { $('#CheckboxUserBackend').click(function() { if ($('#CheckboxUserBackend').is(':checked')) { $("#userlist .userBackend").show(); - OC.AppConfig.setValue('core', 'umgmt_show_backend', 'true'); + OCP.AppConfig.setValue('core', 'umgmt_show_backend', 'true'); } else { $("#userlist .userBackend").hide(); - OC.AppConfig.setValue('core', 'umgmt_show_backend', 'false'); + OCP.AppConfig.setValue('core', 'umgmt_show_backend', 'false'); } }); @@ -931,10 +931,10 @@ $(document).ready(function () { $('#CheckboxMailOnUserCreate').click(function() { if ($('#CheckboxMailOnUserCreate').is(':checked')) { $("#newemail").show(); - OC.AppConfig.setValue('core', 'umgmt_send_email', 'true'); + OCP.AppConfig.setValue('core', 'umgmt_send_email', 'true'); } else { $("#newemail").hide(); - OC.AppConfig.setValue('core', 'umgmt_send_email', 'false'); + OCP.AppConfig.setValue('core', 'umgmt_send_email', 'false'); } }); |