"MDL-21786, remove old comment lib file"
authorDongsheng Cai <unoter@gmail.com>
Mon, 15 Mar 2010 08:03:18 +0000 (08:03 +0000)
committerDongsheng Cai <unoter@gmail.com>
Mon, 15 Mar 2010 08:03:18 +0000 (08:03 +0000)
comment/comment_post.php
lib/commentlib.php [deleted file]

index 1b90d01..154932c 100644 (file)
@@ -19,7 +19,7 @@
  * Handling all ajax request for comments API
  */
 require_once('../config.php');
-require_once($CFG->libdir.'/comment/lib.php');
+require_once($CFG->dirroot . '/comment/lib.php');
 
 $courseid  = optional_param('courseid',  SITEID, PARAM_INT);
 $contextid = optional_param('contextid', SYSCONTEXTID, PARAM_INT);
diff --git a/lib/commentlib.php b/lib/commentlib.php
deleted file mode 100644 (file)
index e69de29..0000000