summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-06-12 12:07:56 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-06-12 12:07:56 +0200
commit0e4caf1c383b47cab33a8dba03c34a6c3fbef288 (patch)
tree47ea9c43491cb9ff04a3a3f00daad74ceeaec641 /bin
parent69d588e56a64d5bdf59cb0d826041186e7c90777 (diff)
downloadwebadmin-0e4caf1c383b47cab33a8dba03c34a6c3fbef288.tar.gz
domain_delete.php: small fix of previous commit.
No need for empty attributes parameter for authenticate()
Diffstat (limited to 'bin')
-rw-r--r--bin/domain_delete.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/domain_delete.php b/bin/domain_delete.php
index 7f3a05e..4dbe729 100644
--- a/bin/domain_delete.php
+++ b/bin/domain_delete.php
@@ -37,8 +37,7 @@ $domain = $CONF->get('kolab', 'primary_domain');
// see https://cgit.kolab.org/webadmin/tree/lib/kolab_api_controller.php#n292
session_start();
$_SESSION['user'] = new User();
-$attributes = array();
-$_SESSION['user']->authenticate($username, $password, $domain, $attributes);
+$_SESSION['user']->authenticate($username, $password, $domain);
// get list of domains to delete
$domains = list_deleted_domains();