public function getDelete($Table, $Where, &$Data)
{
if (is_array($Data)) {
// Grab the records.
$Result = $this->SQL->getWhere($Table, $Where)->resultArray();
if (empty($Result)) {
return;
}
// Put the records in the result array.
if (isset($Data[$Table])) {
$Data[$Table] = array_merge($Data[$Table], $Result);
} else {
$Data[$Table] = $Result;
}
}
$this->SQL->delete($Table, $Where);
}