3 require_once 'MTrack/Interface/CommitListener.php';
5 class MTrackCommitCheck_RequiresTimeReference implements IMTrackCommitListener {
8 function vetoCommit($msg, $files, $actions, $checker) {
10 foreach ($actions as $act) {
15 return "You must include at least one ticket and time reference in your\n".
16 "commit message, using the \"refs #123 (spent 2.5)\" notation.\n"
20 function postCommit($msg, $files, $actions) {