Skip to content

Commit

Permalink
Revert gmdate change to see if it cause unit test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vedanshujain committed May 12, 2020
1 parent a2a19c8 commit 77aeed5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public function execute_tool( $tool ) {
$wpdb->prepare(
"DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions
WHERE ( downloads_remaining != '' AND downloads_remaining = 0 ) OR ( access_expires IS NOT NULL AND access_expires < %s )",
gmdate( 'Y-m-d', current_time( 'timestamp' ) )
date( 'Y-m-d', current_time( 'timestamp' ) )
)
)
);
Expand Down

0 comments on commit 77aeed5

Please sign in to comment.