1
0
mirror of synced 2025-02-20 22:23:14 +03:00

[2.0] Removed debug code.

This commit is contained in:
romanb 2009-10-15 19:04:27 +00:00
parent 0b3ae4b169
commit 84d3cb971e

View File

@ -417,13 +417,6 @@ class StandardEntityPersister
public function load(array $criteria, $entity = null, $assoc = null)
{
$stmt = $this->_conn->prepare($this->_getSelectEntitiesSql($criteria, $assoc));
if (!is_object($stmt)) {
try {
throw new \Exception;
} catch (\Exception $e) {
var_dump($e->getTraceAsString());
}
}
$stmt->execute(array_values($criteria));
$result = $stmt->fetch(Connection::FETCH_ASSOC);
$stmt->closeCursor();