Skip to content

Commit f90beae

Browse files
authored
fix var name
1 parent 5b85a81 commit f90beae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/cli/class-commands.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function enable() {
8383
* @since 1.3.5
8484
* @param bool $result Whether the filesystem event (copy of the `object-cache.php` file) was successful.
8585
*/
86-
do_action( 'redis_object_cache_enable', $result );
86+
do_action( 'redis_object_cache_enable', $copy );
8787

8888
if ( $copy ) {
8989
WP_CLI::success( __( 'Object cache enabled.', 'redis-cache' ) );

0 commit comments

Comments
 (0)