diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index f5fa1305..532eaef3 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -110,9 +110,6 @@ JS if(isset($data['ID']) && $data['ID'] != 'root') $folder = DataObject::get_by_id("Folder", $data['ID']); else $folder = singleton('Folder'); - // Don't modify the output of the template, or it will become invalid - ContentNegotiator::disable(); - return array( 'CanUpload' => $folder->canEdit()); }