Commit e907351c authored by Dries's avatar Dries

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

parent 58370174
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment