MDL-10627 - "No message plugins installed" warning on admin page on head

This commit is contained in:
tjhunt 2007-07-27 11:31:34 +00:00
parent 98907dbaaa
commit bb7053f3d8

View File

@ -21,11 +21,7 @@
function upgrade_plugins($type, $dir, $return) {
global $CFG, $db;
if (!$plugs = get_list_of_plugins($dir) ) {
debugging('No '.$type.' plugins installed!');
return false;
}
$plugs = get_list_of_plugins($dir);
$updated_plugins = false;
$strpluginsetup = get_string('pluginsetup');