Skip to content

Commit 5d2f798

Browse files
committed
Removed unneeded arg since it was already passed in to begin with, and only used in return.
1 parent eb514ae commit 5d2f798

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ToolkitApi/Db2supp.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,11 @@ protected function setErrorMsg($errorMsg)
146146
/**
147147
* this function used for special stored procedure call only
148148
*
149-
* @todo the end result of this function is actually passed into the function. Why do the return?
150-
*
151149
* @param $conn
152150
* @param $sql
153-
* @param $bindArray
154151
* @return bool
155152
*/
156-
public function execXMLStoredProcedure($conn, $sql, $bindArray)
153+
public function execXMLStoredProcedure($conn, $sql)
157154
{
158155
// @todo see why error doesn't properly bubble up to top level.
159156
$crsr = @db2_prepare($conn, $sql);
@@ -185,7 +182,7 @@ public function execXMLStoredProcedure($conn, $sql, $bindArray)
185182
return false;
186183
}
187184

188-
return $bindArray['outputXml'];
185+
return true;
189186
}
190187

191188
/**

0 commit comments

Comments
 (0)