Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 460a5f4

Browse files
author
Michael Grauer
committed
BUG: refs #0399. Removed added requireAjaxRequest in deleteAction.
The method docblock comment said the method was ajax so it seemed safe to add this require, but a test called into the method without ajax.
1 parent ef21ef9 commit 460a5f4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/controllers/BrowseController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ public function uploadedAction()
398398
*/
399399
public function deleteAction()
400400
{
401-
$this->requireAjaxRequest();
402401
if(!$this->logged)
403402
{
404403
throw new Zend_Exception('You must be logged in to delete resources.');

0 commit comments

Comments
 (0)