Przeglądaj źródła

Aligned bulk load web services with recent changes (status reporting)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@357 a333f486-631f-4898-b8df-5754b55c2be0
romainq 15 lat temu
rodzic
commit
2cab35c842
1 zmienionych plików z 3 dodań i 9 usunięć
  1. 3 9
      webservices/import.php

+ 3 - 9
webservices/import.php

@@ -150,19 +150,13 @@ try
 			
 			switch (get_class($value))
 			{
-				case 'CellChangeSpec_Void':
+				case 'CellStatus_Void':
 					$sClass = '';
 					break;
-				case 'CellChangeSpec_Unchanged':
-					$sClass = '';
-					break;
-				case 'CellChangeSpec_Modify':
+				case 'CellStatus_Modify':
 					$sClass = 'csvimport_ok';
 					break;
-				case 'CellChangeSpec_Init':
-					$sClass = 'csvimport_init';
-					break;
-				case 'CellChangeSpec_Issue':
+				case 'CellStatus_Issue':
 					$sClass = 'csvimport_error';
 					break;
 			}