summaryrefslogtreecommitdiff
path: root/src/Util.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-11 21:15:54 +0000
committeruckelman <uckelman@nomic.net>2010-04-11 21:15:54 +0000
commit78969b6d3adb9e3162754207a5a57a3a1e58fd4f (patch)
treefb3df839d8253a71eaa30043feed6c3ae28fd5dd /src/Util.php
parentc142502ec6ebe23e3b54d36441c23a6a9a17d4e2 (diff)
Adding forum -> list bridge.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6686 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/Util.php')
-rw-r--r--src/Util.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Util.php b/src/Util.php
index 817e8a1..62981b2 100644
--- a/src/Util.php
+++ b/src/Util.php
@@ -4,4 +4,8 @@ function throw_if_null($arg) {
if ($arg === null) throw new Exception('argument is null');
}
+function build_message_id($postId, $forumHost) {
+ return '<' . time() . ".bridge.$postId@$forumHost>";
+}
+
?>