portfolio: MDL-20892 moved portfolio/type/* plugins to portfolio/*

This commit is contained in:
Penny Leach
2009-11-18 13:27:38 +00:00
parent cc2e5b13bd
commit edf1fc350a
30 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ function mnet_get_functions($type, $parentname) {
}
} else if ('portfolio' == $type) {
$docname = 'lib.php';
$relname = '/portfolio/type/' . $parentname . '/'. $docname;
$relname = '/portfolio/' . $parentname . '/'. $docname;
$filename = $CFG->dirroot . $relname;
require_once($CFG->libdir . '/portfoliolib.php');
$publishes = (array)portfolio_static_function($parentname, 'mnet_publishes');
@@ -197,7 +197,7 @@ function upgrade_RPC_functions() {
}
}
if ($plugins = get_list_of_plugins('portfolio/type')) {
if ($plugins = get_list_of_plugins('portfolio')) {
foreach ($plugins as $p) {
mnet_get_functions('portfolio', $p);
}