| @@ 530-534 (lines=5) @@ | ||
| 527 | $whereclause = $this->keyName . ' = ' . $obj->getVar($this->keyName); |
|
| 528 | } |
|
| 529 | $sql = 'DELETE FROM ' . $this->table . ' WHERE ' . $whereclause; |
|
| 530 | if (false !== $force) { |
|
| 531 | $result = $this->db->queryF($sql); |
|
| 532 | } else { |
|
| 533 | $result = $this->db->query($sql); |
|
| 534 | } |
|
| 535 | // Clear cache |
|
| 536 | $this->forceCacheClean(); |
|
| 537 | ||
| @@ 652-656 (lines=5) @@ | ||
| 649 | $sql .= ' WHERE ' . $whereclause; |
|
| 650 | } |
|
| 651 | ||
| 652 | if (false !== $force) { |
|
| 653 | $result = $this->db->queryF($sql); |
|
| 654 | } else { |
|
| 655 | $result = $this->db->query($sql); |
|
| 656 | } |
|
| 657 | ||
| 658 | // Clear cache |
|
| 659 | $this->forceCacheClean(); |
|