Commit bda8382e authored by alexpott's avatar alexpott
Browse files

Issue #2599612 by rakesh.gectcr: Unused variable in drupal_get_filename()

parent aeae48d0
...@@ -200,7 +200,6 @@ function drupal_get_filename($type, $name, $filename = NULL) { ...@@ -200,7 +200,6 @@ function drupal_get_filename($type, $name, $filename = NULL) {
// Profiles are converted into modules in system_rebuild_module_data(). // Profiles are converted into modules in system_rebuild_module_data().
// @todo Remove false-exposure of profiles as modules. // @todo Remove false-exposure of profiles as modules.
$original_type = $type;
if ($type == 'profile') { if ($type == 'profile') {
$type = 'module'; $type = 'module';
} }
......
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