mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
API Remove deprecated code (#230)
This commit is contained in:
parent
1ec807ccbe
commit
2f7109ac52
@ -360,12 +360,4 @@ class HTTPBulkToolsResponse extends HTTPResponse
|
|||||||
$this->createBody();
|
$this->createBody();
|
||||||
parent::outputBody();
|
parent::outputBody();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.1.0 This function was used to catch PHP Errors and inject additional information in the response
|
|
||||||
*/
|
|
||||||
public function shutdown()
|
|
||||||
{
|
|
||||||
// noop
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -5,13 +5,12 @@ namespace Colymba\BulkUpload;
|
|||||||
use SilverStripe\ORM\DataObject;
|
use SilverStripe\ORM\DataObject;
|
||||||
use SilverStripe\View\ArrayData;
|
use SilverStripe\View\ArrayData;
|
||||||
|
|
||||||
use SilverStripe\Dev\Deprecation;
|
|
||||||
use SilverStripe\Forms\FormAction;
|
|
||||||
use SilverStripe\View\Requirements;
|
use SilverStripe\View\Requirements;
|
||||||
use SilverStripe\Control\Controller;
|
use SilverStripe\Control\Controller;
|
||||||
use SilverStripe\Core\Config\Config;
|
use SilverStripe\Core\Config\Config;
|
||||||
use Colymba\BulkUpload\BulkUploadField;
|
use Colymba\BulkUpload\BulkUploadField;
|
||||||
use Colymba\BulkUpload\BulkUploadHandler;
|
use Colymba\BulkUpload\BulkUploadHandler;
|
||||||
|
use SilverStripe\Control\HTTPRequest;
|
||||||
use SilverStripe\Forms\GridField\GridField_URLHandler;
|
use SilverStripe\Forms\GridField\GridField_URLHandler;
|
||||||
use SilverStripe\Forms\GridField\GridField_HTMLProvider;
|
use SilverStripe\Forms\GridField\GridField_HTMLProvider;
|
||||||
|
|
||||||
@ -334,7 +333,7 @@ class BulkUploader implements GridField_HTMLProvider, GridField_URLHandler
|
|||||||
{
|
{
|
||||||
$controller = Controller::curr();
|
$controller = Controller::curr();
|
||||||
$controller->pushCurrent();
|
$controller->pushCurrent();
|
||||||
$handler = new \Colymba\BulkUpload\BulkUploadHandler($gridField, $this);
|
$handler = new BulkUploadHandler($gridField, $this);
|
||||||
|
|
||||||
return $handler->handleRequest($request);
|
return $handler->handleRequest($request);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user