Skip to content

Commit 562affe

Browse files
committed
reorganise sync types in logicial order
1 parent 5023371 commit 562affe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/sync/class-push-sync.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ public function __construct( \Cloudinary\Plugin $plugin ) {
5757

5858
// Define the sync types and their option keys.
5959
$sync_types = array(
60+
'cloud_name' => 'upload',
61+
'folder' => 'upload',
6062
'file' => 'upload',
6163
'public_id' => 'rename',
6264
'breakpoints' => 'explicit',
6365
'options' => 'context',
64-
'folder' => 'upload',
65-
'cloud_name' => 'upload',
6666
);
6767
$this->sync_types = apply_filters( 'cloudinary_sync_types', $sync_types );
6868

0 commit comments

Comments
 (0)