summaryrefslogtreecommitdiff
path: root/src/Util.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-11 21:52:09 +0000
committeruckelman <uckelman@nomic.net>2010-04-11 21:52:09 +0000
commit3c20fc86780bb0a9bca8cadb8392c7824c2e4a13 (patch)
treeeb421cd319d7b303e66f87d359a06790d5e4539d /src/Util.php
parent41b8a6064edef1ad27b83324775ed16d38b297ee (diff)
Pass time to build_message_id().
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6689 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/Util.php')
-rw-r--r--src/Util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Util.php b/src/Util.php
index 62981b2..2384911 100644
--- a/src/Util.php
+++ b/src/Util.php
@@ -4,8 +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>";
+function build_message_id($time, $postId, $forumHost) {
+ return "<$time.$postId.bridge@$forumHost>";
}
?>