Skip to content

Commit a220462

Browse files
committed
cleaup formatting
1 parent 6c97e8f commit a220462

File tree

1 file changed

+2
-1
lines changed
  • cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media

1 file changed

+2
-1
lines changed

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media/class-upgrade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,10 @@ function ( $val ) use ( $media ) {
139139
$path = pathinfo( $public_id );
140140
$public_id = strstr( $public_id, '.' . $path['extension'], true );
141141
$this->media->update_post_meta( $attachment_id, Sync::META_KEYS['public_id'], $public_id );
142-
if ( !defined( 'DOING_BULK_SYNC' ) ) {
142+
if ( ! defined( 'DOING_BULK_SYNC' ) ) {
143143
$this->sync->managers['upload']->add_to_sync( $attachment_id ); // Auto sync if upgrading outside of bulk sync.
144144
}
145+
145146
return $public_id;
146147
}
147148

0 commit comments

Comments
 (0)