From 67a3d02bd5c16ecc4e6f78a70c537d9e09f7df25 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 22 Sep 2009 14:36:28 +0000 Subject: [PATCH] fixing a tiny bug for 'removeLicense' git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14316 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/opsi_com.pm | 1 + gosa-si/tests/client.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-si/server/events/opsi_com.pm b/gosa-si/server/events/opsi_com.pm index 84d1d6143..ea53d8af5 100644 --- a/gosa-si/server/events/opsi_com.pm +++ b/gosa-si/server/events/opsi_com.pm @@ -2230,6 +2230,7 @@ sub _deleteSoftwareLicense { my %arg = ( 'softwareLicenseId' => undef, 'removeFromPools' => "", + @_, ); if (not defined $arg{softwareLicenseId} ) { diff --git a/gosa-si/tests/client.php b/gosa-si/tests/client.php index 4b915457f..c8abec800 100755 --- a/gosa-si/tests/client.php +++ b/gosa-si/tests/client.php @@ -45,7 +45,7 @@ for($count = 1; $count <= $zahl; $count++) #$data = "
gosa_opsi_getPool
GOSA00:01:6C:9D:B9:FALicensePool
"; - $data = "
gosa_opsi_removeLicense
GOSA00:01:6C:9D:B9:FALicensePooll_2009-09-22_09:50:58_0
"; + $data = "
gosa_opsi_removeLicense
GOSA00:01:6C:9D:B9:FALicensePooll_2009-09-22_14:06:11
"; ############################## -- 2.30.2