mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
WebUI: remove unused parameter from get_whoami_command
The batch param is not used anywhere therefore we can remove it. https://pagure.io/freeipa/issue/7143 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
a077c705fe
commit
755a50044c
@ -191,7 +191,7 @@ var IPA = function () {
|
||||
}
|
||||
}));
|
||||
|
||||
batch.add_command(that.get_whoami_command(true));
|
||||
batch.add_command(that.get_whoami_command());
|
||||
|
||||
batch.add_command(rpc.command({
|
||||
method: 'env',
|
||||
@ -259,10 +259,8 @@ var IPA = function () {
|
||||
/**
|
||||
* Prepares `user-find --whoami` command
|
||||
* @protected
|
||||
* @param {boolean} batch - Specifies if it will be used as single command or
|
||||
* in a batch.
|
||||
*/
|
||||
that.get_whoami_command = function(batch) {
|
||||
that.get_whoami_command = function() {
|
||||
return rpc.command({
|
||||
method: 'whoami',
|
||||
on_success: function(data, text_status, xhr) {
|
||||
|
Loading…
Reference in New Issue
Block a user