Skip to content

Commit

Permalink
Case 27611; Tidy up.
Browse files Browse the repository at this point in the history
  • Loading branch information
kalpaitch committed May 15, 2017
1 parent 29fcd17 commit 9fca0a3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Command/SiteDbImportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ protected function configure() {
// @todo ensure all configuration options for S3 including
// access and secret keys to be passed in to ensure S3
// wrapper can access the required buckets.
//
// Until then we will continue to use 's3cmd' for S3 only.
$options = [
'region' => 'eu-west-1',
'version' => 'latest',
Expand Down Expand Up @@ -263,8 +261,6 @@ protected function download($filename) {
$tmp_folder = '/tmp/';

// Save the dbdump to a local destination.
//
// @todo Use of 's3cmd' can be removed once s3 wrapper is aware of access creds.
if ('s3' === parse_url($filename, PHP_URL_SCHEME)) {
$command = sprintf(
'cd %s && ' .
Expand Down Expand Up @@ -303,8 +299,4 @@ protected function download($filename) {
return $tmp_folder . basename($filename);
}

protected function remoteFileExists($filename) {

}

}

0 comments on commit 9fca0a3

Please # to comment.