[2.0] Removed debug code.
This commit is contained in:
parent
0b3ae4b169
commit
84d3cb971e
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user