MDL_13766 Refactoring of core repository code and added first unit tests

This commit is contained in:
nicolasconnault
2008-11-26 07:03:10 +00:00
parent bcc234b0a7
commit dbc0194458
19 changed files with 776 additions and 718 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ function mnet_get_functions($type, $parentname) {
$relname = '/repository/' . $parentname . '/'. $docname;
$filename = $CFG->dirroot . $relname;
require_once($CFG->dirroot . '/repository/lib.php');
$publishes = (array)repository_static_function($parentname, 'mnet_publishes');
$publishes = (array)repository::static_function($parentname, 'mnet_publishes');
} else {
// auth or enrol
$relname = '/'.$type.'/'.$parentname.'/'.$docname;