Permalink
Browse files

Return from update() and delete() in AbstractTableGateway

  • Loading branch information...
1 parent 90962b4 commit 5dd6c4ce8187f219e8b9675e1084dc5795b850af @EvanDotPro EvanDotPro committed May 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 library/Zend/Db/TableGateway/AbstractTableGateway.php
@@ -314,7 +314,7 @@ public function update($set, $where = null)
$update = $sql->update();
$update->set($set);
$update->where($where);
- $this->executeUpdate($update);
+ return $this->executeUpdate($update);
}
/**
@@ -372,7 +372,7 @@ public function delete($where)
} else {
$delete->where($where);
}
- $this->executeDelete($delete);
+ return $this->executeDelete($delete);
}
/**

0 comments on commit 5dd6c4c

Please sign in to comment.