- Patch #79118 by Robrecht Jacques: removed left-over code.

5.x
Dries Buytaert 2006-08-31 17:40:45 +00:00
parent 583701741a
commit e907351c81
1 changed files with 1 additions and 2 deletions

View File

@ -313,7 +313,6 @@ function filter_admin_overview() {
$formats = filter_formats();
$error = FALSE;
$rows = array();
foreach ($formats as $id => $format) {
$roles = array();
foreach (user_roles() as $rid => $name) {
@ -322,7 +321,6 @@ function filter_admin_overview() {
$roles[] = $name;
}
}
$row = array();
$default = ($id == variable_get('filter_default_format', 1));
$options[$id] = '';
$form[$format->name]['id'] = array('#value' => $id);
@ -344,6 +342,7 @@ function filter_admin_overview_submit($form_id, $form_values) {
}
function theme_filter_admin_overview($form) {
$rows = array();
foreach ($form as $name => $element) {
if (isset($element['roles']) && is_array($element['roles'])) {
$rows[] = array(