소스 검색

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 년 전
부모
커밋
2cab35c842
1개의 변경된 파일3개의 추가작업 그리고 9개의 파일을 삭제
  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;
 			}