summaryrefslogtreecommitdiffstats
path: root/app/model/issue.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2019-01-12 22:42:41 -0500
committerMalf Furious <m@lfurio.us>2019-01-12 22:42:41 -0500
commitd2e4330557e02af6dc4ff133d2586730e94d6959 (patch)
tree45c1c577dba69cd520b3787dd0300a15fb4cf7ca /app/model/issue.php
parentf3165d28fff6468fca44ff2ec3b6cfb3fb82ee90 (diff)
parentd71c72ba57abee645daf658bbdb74f296406171d (diff)
downloadscrott-d2e4330557e02af6dc4ff133d2586730e94d6959.tar.gz
scrott-d2e4330557e02af6dc4ff133d2586730e94d6959.zip
Merge branch 'rel/v0.3'v0.3
Diffstat (limited to 'app/model/issue.php')
-rw-r--r--app/model/issue.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/model/issue.php b/app/model/issue.php
index 7159015..dd904e4 100644
--- a/app/model/issue.php
+++ b/app/model/issue.php
@@ -68,6 +68,8 @@ if (isAction("iss-mesg-add"))
}
else
{
+ $issue->signoffAssignee($user);
+ logError(NOTICE, "Issue #" . $issue->numb . " closed");
$log = mesg::initNewLog("%s closed issue", $user, $issue);
}
}
@@ -97,10 +99,14 @@ if (isAction("iss-mesg-add"))
return;
}
+ $issue->signoffAssignee($user);
$issue->close($user);
logError(NOTICE, "Issue #" . $issue->numb . " closed");
$log = mesg::initNewLog("%s closed issue", $user, $issue);
}
+
+ /* automatically redisplay issue modal */
+ setAutoModal("#issueModal-" . $issue->guid);
}
?>