Implements hook_preprocess_block().
function system_preprocess_block(&$variables) {
// System menu blocks should get the same class as menu module blocks.
if ($variables['block']->module == 'system' && in_array($variables['block']->delta, array_keys(menu_list_system_menus()))) {
$variables['classes_array'][] = 'block-menu';
}
}