Merge branch 'wip-MDL-42234-master' of git://github.com/abgreeve/moodle

This commit is contained in:
Marina Glancy 2013-10-15 14:11:15 +11:00
commit e3d43f0d73

View File

@ -295,9 +295,9 @@ if (($action == 'edit') || ($action == 'new')) {
// Get list of used plug-ins
$repositorytypes = repository::get_types();
// Array to store plugins being used
$alreadyplugins = array();
if (!empty($repositorytypes)) {
// Array to store plugins being used
$alreadyplugins = array();
$totalrepositorytypes = count($repositorytypes);
$updowncount = 1;
foreach ($repositorytypes as $i) {