Skip to content

Commit 7d6afea

Browse files
committed
Don't pass args
1 parent f95a5cc commit 7d6afea

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Search_Replace_Command.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,10 +468,9 @@ public function __invoke( $args, $assoc_args ) {
468468
// Identify views so they can be skipped; views are dynamic and cannot be directly modified.
469469
$views_args = $assoc_args;
470470
$views_args['views-only'] = true;
471-
$views = Utils\wp_get_table_names( $args, $views_args );
471+
$views = Utils\wp_get_table_names( [], $views_args );
472472

473473
foreach ( $tables as $table ) {
474-
475474
foreach ( $this->skip_tables as $skip_table ) {
476475
if ( fnmatch( $skip_table, $table ) ) {
477476
continue 2;

0 commit comments

Comments
 (0)