From e28ba1661c6e9b51b36e57df84b69a0e2417f76e Mon Sep 17 00:00:00 2001 From: Marco Pereirinha Date: Tue, 6 Oct 2020 11:28:09 +0100 Subject: [PATCH] Apply PHPCS --- php/sync/class-storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/sync/class-storage.php b/php/sync/class-storage.php index ae383e3ca..f28e2ecb1 100644 --- a/php/sync/class-storage.php +++ b/php/sync/class-storage.php @@ -163,7 +163,7 @@ public function validate_file_folder_sync( $attachment_id ) { */ public function generate_signature( $attachment_id ) { $file_exists = true; - if ( $this->settings['offload'] !== 'cld' ) { + if ( 'cld' !== $this->settings['offload'] ) { $attachment_file = get_attached_file( $attachment_id ); if ( ! file_exists( $attachment_file ) ) { $file_exists = $attachment_file;