inc/CommitChecker.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 26 Jan 2011 08:33:17 +0000 (16:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 26 Jan 2011 08:33:17 +0000 (16:33 +0800)
inc/CommitChecker.php

index f1e5b78..956672f 100644 (file)
@@ -22,7 +22,7 @@ class MTrackCommitChecker {
     static function addCheck($name)
     {
         require_once "CommitCheck/$name.php";
-        $cls = "MTrack$name";
+        $cls = "MTrackCommitCheck_$name";
         self::$listeners[] = new $cls;
     }