Commit 25044310 authored by webchick's avatar webchick
Browse files

Issue #2080673 by chertzog: Remove Unused local variable from /core/modules/filter/filter.install.

parent 9b801516
......@@ -41,7 +41,7 @@ function filter_update_8001() {
$filters = db_query('SELECT name, module, status, weight, settings FROM {filter} WHERE format = :format ORDER BY weight, module, name', array(
':format' => $id,
), array('fetch' => PDO::FETCH_ASSOC))->fetchAllAssoc('name');
foreach ($filters as $name => &$filter) {
foreach ($filters as &$filter) {
// The filter name is used as key only.
$filter['settings'] = unserialize($filter['settings']);
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