Skip to content

Commit 2716afa

Browse files
committed
Copyright update, indentation fix
1 parent 9a5ef2b commit 2716afa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

S3.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* $Id$
44
*
5-
* Copyright (c) 2011, Donovan Schönknecht. All rights reserved.
5+
* Copyright (c) 2013, Donovan Schönknecht. All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without
88
* modification, are permitted provided that the following conditions are met:
@@ -804,7 +804,7 @@ public static function setBucketRedirect($bucket = NULL, $location = NULL)
804804
$redirectAllRequestsTo->appendChild($hostName);
805805
$websiteConfiguration->appendChild($redirectAllRequestsTo);
806806
$dom->appendChild($websiteConfiguration);
807-
$rest->setParameter('website', null);
807+
$rest->setParameter('website', null);
808808
$rest->data = $dom->saveXML();
809809
$rest->size = strlen($rest->data);
810810
$rest->setHeader('Content-Type', 'application/xml');
@@ -1566,7 +1566,7 @@ private static function __getCloudFrontInvalidationBatchXML($paths, $callerRefer
15661566
* [I12HK7MPO1UQDA] => Completed
15671567
* [I1IA7R6JKTC3L2] => Completed
15681568
* )
1569-
*
1569+
*
15701570
* @param string $distributionId Distribution ID from listDistributions()
15711571
* @return array
15721572
*/
@@ -1780,8 +1780,8 @@ private static function __getMimeType(&$file)
17801780
'zip' => 'application/zip', 'gz' => 'application/x-gzip',
17811781
'tar' => 'application/x-tar', 'bz' => 'application/x-bzip',
17821782
'bz2' => 'application/x-bzip2', 'rar' => 'application/x-rar-compressed',
1783-
'exe' => 'application/x-msdownload', 'msi' => 'application/x-msdownload',
1784-
'cab' => 'application/vnd.ms-cab-compressed', 'txt' => 'text/plain',
1783+
'exe' => 'application/x-msdownload', 'msi' => 'application/x-msdownload',
1784+
'cab' => 'application/vnd.ms-cab-compressed', 'txt' => 'text/plain',
17851785
'asc' => 'text/plain', 'htm' => 'text/html', 'html' => 'text/html',
17861786
'css' => 'text/css', 'js' => 'text/javascript',
17871787
'xml' => 'text/xml', 'xsl' => 'application/xsl+xml',
@@ -2106,7 +2106,7 @@ public function getResponse()
21062106
$this->resource
21072107
);
21082108
}
2109-
}
2109+
}
21102110

21112111
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
21122112
curl_setopt($curl, CURLOPT_HEADER, false);

0 commit comments

Comments
 (0)