Skip to content

Commit

Permalink
Use AccountData instead of ObjectRef for identifying target user.
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed May 4, 2013
1 parent e7bfc6a commit 0927b6d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/soap/mantisconnect.wsdl
Expand Up @@ -557,7 +557,7 @@
<part name="password" type="xsd:string" />
<part name="project_id" type="xsd:integer" />
<part name="filter_type" type="xsd:string" />
<part name="target_user" type="tns:ObjectRef" />
<part name="target_user" type="tns:AccountData" />
<part name="page_number" type="xsd:integer" />
<part name="per_page" type="xsd:integer" /></message>
<message name="mc_project_get_issues_for_userResponse">
Expand Down
1 change: 0 additions & 1 deletion api/soap/mc_api.php
Expand Up @@ -227,7 +227,6 @@ function mci_get_project_view_state_id( $p_view_state ) {
}

function mci_get_user_id( $p_user ) {

$p_user = SoapObjectsFactory::unwrapObject( $p_user );

$t_user_id = 0;
Expand Down
2 changes: 1 addition & 1 deletion api/soap/mc_project_api.php
Expand Up @@ -20,7 +20,7 @@
* "reported" - target user 0 - will throw.
* "monitored" - target user specified - issues monitored by user.
* "monitored" - target user 0 - issues not monitored.
* @param $p_target_user ObjectRef for target user, can include id, name, or both.
* @param $p_target_user AccountData for target user, can include id, name, or both.
* @param $p_page_number the page to return (1 based).
* @param $p_per_page number of issues per page.
* @return IssueDataArray a page of matching issues.
Expand Down

0 comments on commit 0927b6d

Please sign in to comment.