From 9dba96dba5faba02b4b02d9dd39bd46551253d43 Mon Sep 17 00:00:00 2001
From: Chris Montoro <cmonto1@hotmail.com>
Date: Tue, 10 Mar 2015 11:57:58 -0400
Subject: [PATCH] [s3file] stop storing headers in database

---
 fields/types/s3file/S3FileType.js | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/fields/types/s3file/S3FileType.js b/fields/types/s3file/S3FileType.js
index 3dfb9fb9bf..98a2f42be0 100644
--- a/fields/types/s3file/S3FileType.js
+++ b/fields/types/s3file/S3FileType.js
@@ -102,7 +102,6 @@ s3file.prototype.addToSchema = function() {
 		size:     this._path.append('.size'),
 		filetype:   this._path.append('.filetype'),
 		url:      this._path.append('.url'),
-		headers:      this._path.append('.headers'),
 		// virtuals
 		exists:     this._path.append('.exists'),
 		upload:     this._path.append('_upload'),
@@ -114,8 +113,7 @@ s3file.prototype.addToSchema = function() {
 		path:     String,
 		size:     Number,
 		filetype:   String,
-		url:      String,
-		headers:      Object
+		url:      String
 	});
 
 	schema.add(schemaPaths);
@@ -135,8 +133,7 @@ s3file.prototype.addToSchema = function() {
 			path: '',
 			size: 0,
 			filetype: '',
-			url: '',
-			headers: {}
+			url: ''
 		});
 	};
 	
@@ -438,8 +435,7 @@ s3file.prototype.uploadFile = function(item, file, update, callback) {
 				path: path,
 				size: file.size,
 				filetype: filetype,
-				url: url,
-				headers: headers
+				url: url
 			};
 
 			if (update) {