summaryrefslogtreecommitdiff
path: root/core/controllers/photos.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-29 22:41:53 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-29 22:41:53 +0000
commit6ab195854ddee124b24b880ed96bb0db5fdc7805 (patch)
tree02a91acb7ddaa13eee3730bc8a9366fc94dc9c9c /core/controllers/photos.php
parent29c925a3cc30a5b1fc66c658e4be85914a6b515c (diff)
Remove rest::JSON content type; it's causing lots of problems and it doesn't directly help since text/html works just as well for our JSON communications
Diffstat (limited to 'core/controllers/photos.php')
-rw-r--r--core/controllers/photos.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/controllers/photos.php b/core/controllers/photos.php
index 9ceaa5c9..13185283 100644
--- a/core/controllers/photos.php
+++ b/core/controllers/photos.php
@@ -45,7 +45,6 @@ class Photos_Controller extends Items_Controller {
public function _update($photo) {
access::required("edit", $photo);
- rest::http_content_type(rest::JSON);
$form = photo::get_edit_form($photo);
if ($form->validate()) {
// @todo implement changing the name. This is not trivial, we have