MINOR Removed ContentNegotiator::disable() since it's disabled by default (in AssetAdmin)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93681 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-11-26 22:50:26 +00:00 committed by Sam Minnee
parent 84a591bf2b
commit 5a1a947b92

View File

@ -127,9 +127,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());
}