Skip to content

Commit

Permalink
Moving getEndedStatements() to the propef function.
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Aug 29, 2006
1 parent fd6a294 commit a0da32e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/xmldb/classes/XMLDBStatement.class.php
Expand Up @@ -384,10 +384,6 @@ function getExecuteStatementSQL ($dbtype, $prefix, $statement_end=true) {
break;
}

if ($statement_end) {
$results = $generator->getEndedStatements($results);
}

return $results;
}

Expand All @@ -406,6 +402,10 @@ function getExecuteInsertSQL ($dbtype, $prefix, $statement_end=true) {

$results = $generator->getExecuteInsertSQL($this);

if ($statement_end) {
$results = $generator->getEndedStatements($results);
}

return $results;
}

Expand Down

0 comments on commit a0da32e

Please sign in to comment.