Changeset 759 for trunk/phpbms/modules/api/include/apiclass.php
- Timestamp:
- 01/14/10 16:59:01 (2 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/api/include/apiclass.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/api/include/apiclass.php
r703 r759 456 456 457 457 switch($request["command"]){ 458 459 case "ping": 460 //====================================================== 461 462 $this->_addToResponse("message", "Everything is phpBMSy!"); 463 464 break; 458 465 459 466 case "insert": … … 636 643 include_once("include/search_class.php"); 637 644 638 //if($useUuid){639 // if(!isset($request["data"]->uuid))640 // $this->sendError("The `uuid` field must be set in request number ".$i, $request["data"], true);641 // else642 // $id = $request["data"]->uuid;643 //644 // }else{645 // if(!isset($request["data"]->id))646 // $this->sendError("The `id` field must be set in request number ".$i, $request["data"], true);647 // else648 // $id = $request["data"]->uuid;649 // }//end if650 651 645 if($hasTableClassOveride){ 652 646