diff options
author | Joel Uckelman <uckelman@nomic.net> | 2011-09-26 22:31:45 +0200 |
---|---|---|
committer | Joel Uckelman <uckelman@nomic.net> | 2011-09-26 22:31:45 +0200 |
commit | 6895ac6c4274221cc28124fa9eead033b18cb626 (patch) | |
tree | a2710846570231cc4db553e870add639afd9d87c /src/BridgeImpl.php | |
parent | 0655db496d5c0554f121aa0ee40815129892fecc (diff) |
Don't delete message id's from the post DB, as this prevents replies coming in over the list from being routed to the correct forum topic.
Diffstat (limited to 'src/BridgeImpl.php')
-rw-r--r-- | src/BridgeImpl.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/BridgeImpl.php b/src/BridgeImpl.php index df21a89..c299efa 100644 --- a/src/BridgeImpl.php +++ b/src/BridgeImpl.php @@ -144,16 +144,6 @@ class BridgeImpl implements Bridge { } } - public function removePost($postId) { - throw_if_null($postId); - - $sql = 'DELETE FROM posts WHERE post_id = ' . $postId; - - $count = $this->db->exec($sql); - - return $count > 0; - } - protected function get_exactly_one_row($sql) { $result = $this->db->query($sql); |