Skip to content

Commit b4cb1fc

Browse files
committed
remove debug test code
1 parent 690d3fe commit b4cb1fc

File tree

1 file changed

+0
-8
lines changed
  • cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,14 +1239,6 @@ public function get_post_meta( $post_id, $key, $single = false ) {
12391239
$data = $this->build_cached_meta( $post_id, $key, $single );
12401240
}
12411241

1242-
// If public_id, ensure there's a sync_key saved.
1243-
if ( '_public_id' === $key && empty( $meta_data[ Sync::META_KEYS['cloudinary'] ]['_sync_key'] ) ) {
1244-
1245-
//$sync_key = '_' . md5( $data );
1246-
//$this->update_post_meta( $post_id, '_sync_key', $sync_key );
1247-
//update_post_meta( $post_id, $sync_key, true ); // Set sync_key.
1248-
}
1249-
12501242
return $data;
12511243
}
12521244

0 commit comments

Comments
 (0)