Code

fixing a tiny bug for 'removeLicense'
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 22 Sep 2009 14:36:28 +0000 (14:36 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 22 Sep 2009 14:36:28 +0000 (14:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14316 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/opsi_com.pm
gosa-si/tests/client.php

index 84d1d614353056fea17bdf86f4369a4105b4a65f..ea53d8af5a6d93afc9a90db32a4a4864ff29ddc6 100644 (file)
@@ -2230,6 +2230,7 @@ sub _deleteSoftwareLicense {
        my %arg = (
                'softwareLicenseId' => undef,
                'removeFromPools' => "",
+               @_,
                );
 
        if (not defined $arg{softwareLicenseId} ) { 
index 4b915457f7c08ced95f0c394dcce9f43c903e8af..c8abec8002725efd3ee69ab6a951d8cfc5ed1acc 100755 (executable)
@@ -45,7 +45,7 @@ for($count = 1; $count <= $zahl; $count++)
 
        #$data = "<xml><header>gosa_opsi_getPool</header><source>GOSA</source><target>00:01:6C:9D:B9:FA</target><licensePoolId>LicensePool</licensePoolId></xml>";
 
-       $data = "<xml><header>gosa_opsi_removeLicense</header><source>GOSA</source><target>00:01:6C:9D:B9:FA</target><licensePoolId>LicensePool</licensePoolId><softwareLicenseId>l_2009-09-22_09:50:58_0</softwareLicenseId></xml>";
+       $data = "<xml><header>gosa_opsi_removeLicense</header><source>GOSA</source><target>00:01:6C:9D:B9:FA</target><licensePoolId>LicensePool</licensePoolId><softwareLicenseId>l_2009-09-22_14:06:11</softwareLicenseId></xml>";
 
 
        ##############################