* Deletes a record
*
* @access public
+ *
+ * @param bool Run API->set_existing()?
*/
- function delete()
+ function delete($runset = true)
{
if ($this->condition == '')
{
trigger_error('Condition is empty: cannot fetch', E_USER_ERROR);
}
- $this->set_existing();
+ if ($runset)
+ {
+ $this->set_existing();
+ }
$this->run_action_method('pre_delete');
- DB_MySQL can now properly escape binary
- No longer populate API->values[] when calling API->fetch() [api.php]
- Added a parameter in Mail->send() to optionally clear the to list after sending [mail.php]
+- Added a parameter in API->delete() to optionally stop the running of API->set_existing() [api.php]
2.0.0
===============