Skip to content

Commit 9fca0a3

Browse files
committed
Case 27611; Tidy up.
1 parent 29fcd17 commit 9fca0a3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Command/SiteDbImportCommand.php

-8
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ protected function configure() {
5656
// @todo ensure all configuration options for S3 including
5757
// access and secret keys to be passed in to ensure S3
5858
// wrapper can access the required buckets.
59-
//
60-
// Until then we will continue to use 's3cmd' for S3 only.
6159
$options = [
6260
'region' => 'eu-west-1',
6361
'version' => 'latest',
@@ -263,8 +261,6 @@ protected function download($filename) {
263261
$tmp_folder = '/tmp/';
264262

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

306-
protected function remoteFileExists($filename) {
307-
308-
}
309-
310302
}

0 commit comments

Comments
 (0)