@@ 520-524 (lines=5) @@ | ||
517 | $whereclause = $this->keyName . ' = ' . $obj->getVar($this->keyName); |
|
518 | } |
|
519 | $sql = 'DELETE FROM ' . $this->table . ' WHERE ' . $whereclause; |
|
520 | if (false != $force) { |
|
521 | $result = $this->db->queryF($sql); |
|
522 | } else { |
|
523 | $result = $this->db->query($sql); |
|
524 | } |
|
525 | // Clear cache |
|
526 | $this->forceCacheClean(); |
|
527 | ||
@@ 644-648 (lines=5) @@ | ||
641 | $sql .= ' WHERE ' . $whereclause; |
|
642 | } |
|
643 | ||
644 | if (false != $force) { |
|
645 | $result = $this->db->queryF($sql); |
|
646 | } else { |
|
647 | $result = $this->db->query($sql); |
|
648 | } |
|
649 | ||
650 | // Clear cache |
|
651 | $this->forceCacheClean(); |