summaryrefslogtreecommitdiff
path: root/src/Bridge.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-27 19:31:59 +0000
committeruckelman <uckelman@nomic.net>2010-04-27 19:31:59 +0000
commitfc511524418271bc6188fd72d3bd462831852f86 (patch)
tree4334f25ff8345cb7569597c6899b2cae7cc1672f /src/Bridge.php
parente52bb4c8409da11660760578e73bea8011e51260 (diff)
Storing references is pointless, since PhpBB doesn't keep any thread info.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6764 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/Bridge.php')
-rw-r--r--src/Bridge.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Bridge.php b/src/Bridge.php
index 0125363..b428fff 100644
--- a/src/Bridge.php
+++ b/src/Bridge.php
@@ -71,16 +71,14 @@ class Bridge {
return $rows;
}
- public function registerMessage($postId, $messageId,
- $inReplyTo, $references) {
+ public function registerMessage($postId, $messageId, $inReplyTo) {
throw_if_null($messageId);
$sql = 'INSERT IGNORE INTO posts ' .
- '(post_id, message_id, in_reply_to, refs) ' .
+ '(post_id, message_id, in_reply_to) ' .
'VALUES (' . ($postId === null ? 'NULL' : $postId) . ', '
. $this->db->quote($messageId) . ', '
- . $this->quote($inReplyTo) . ', '
- . $this->quote($references) . ')';
+ . $this->quote($inReplyTo) . ')';
$count = $this->db->exec($sql);
return $count == 1;