summaryrefslogtreecommitdiffstats
path: root/app/model/datamods.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-10-26 21:17:41 -0400
committerMalf Furious <m@lfurio.us>2018-10-26 21:17:41 -0400
commitbcc3ef4a22a17cf888e71078f2881715c466b6dc (patch)
treecbd6054bd7f5b91ab4a40de0261a95dcb0793b28 /app/model/datamods.php
parentd73d8ccf9b009a522080f7fec08bf9f23962e1c9 (diff)
downloadscrott-bcc3ef4a22a17cf888e71078f2881715c466b6dc.tar.gz
scrott-bcc3ef4a22a17cf888e71078f2881715c466b6dc.zip
issue: Add logging events for issue open and close
Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app/model/datamods.php')
-rw-r--r--app/model/datamods.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/model/datamods.php b/app/model/datamods.php
index e2051f3..0b7f3da 100644
--- a/app/model/datamods.php
+++ b/app/model/datamods.php
@@ -112,6 +112,7 @@ if (isAction("dm-issue-add"))
$mesg = mesg::initNewDiscussion($form->name, $form->mesg, $user, $pad);
$issue = issue::initNew($mesg, $user, $stages[0]);
+ $log = mesg::initNewLog("%s opened issue", $user, $issue);
location(); // bug mitigation
}