/**
  * Initiate the upgrade
  *
  * @param object $as3cf Instance of calling class
  */
 public function __construct($as3cf)
 {
     $this->upgrade_id = 3;
     $this->upgrade_name = 'meta_error';
     $this->upgrade_type = 'attachments';
     $this->running_update_text = __('and rebuilding the metadata for attachments that may have been corrupted.', 'amazon-s3-and-cloudfront');
     parent::__construct($as3cf);
 }
 /**
  * Initiate the upgrade
  *
  * @param object $as3cf Instance of calling class
  */
 public function __construct($as3cf)
 {
     $this->upgrade_id = 1;
     $this->upgrade_name = 'meta_with_region';
     $this->upgrade_type = 'metadata';
     $this->running_update_text = __('and updating the metadata with the bucket region it is served from. This will allow us to serve your files from the proper S3 region subdomain <span style="white-space:nowrap;">(e.g. s3-us-west-2.amazonaws.com)</span>.', 'amazon-s3-and-cloudfront');
     parent::__construct($as3cf);
 }
 /**
  * Initiate the upgrade
  *
  * @param object $as3cf Instance of calling class
  */
 public function __construct($as3cf)
 {
     $this->upgrade_id = 2;
     $this->upgrade_name = 'file_sizes';
     $this->upgrade_type = 'attachments';
     $this->running_update_text = __('and updating the metadata with the sizes of files that have been removed from the server. This will allow us to serve the correct size for media items and the total space used in Multisite subsites.', 'amazon-s3-and-cloudfront');
     parent::__construct($as3cf);
 }
 /**
  * Initiate the upgrade
  *
  * @param object $as3cf Instance of calling class
  */
 public function __construct($as3cf)
 {
     $this->upgrade_id = 5;
     $this->upgrade_name = 'replace_edd_urls';
     $this->upgrade_type = 'post meta';
     $this->running_update_text = __('and ensuring that only the local URL exists in EDD post meta.', 'amazon-s3-and-cloudfront');
     parent::__construct($as3cf);
 }