Skip to content

Commit 4ba6ffe

Browse files
scorweitzman
authored andcommitted
use drush_op() instead of call_user_func()
1 parent 36282e5 commit 4ba6ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/core/cache.drush.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function drush_cache_command_clear($type = NULL) {
103103
}
104104
$type = drush_choice($types, 'Enter a number to choose which cache to clear.', '!key');
105105
if ($type !== FALSE) {
106-
call_user_func($types[$type]);
106+
drush_op($types[$type]);
107107
}
108108
}
109109
if ($type !== FALSE) {

0 commit comments

Comments
 (0)