API Remove deprecated code (#230)

This commit is contained in:
Sabina Talipova 2023-01-25 13:47:52 +13:00 committed by GitHub
parent 1ec807ccbe
commit 2f7109ac52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 11 deletions

View File

@ -360,12 +360,4 @@ class HTTPBulkToolsResponse extends HTTPResponse
$this->createBody();
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
}
}

View File

@ -5,13 +5,12 @@ namespace Colymba\BulkUpload;
use SilverStripe\ORM\DataObject;
use SilverStripe\View\ArrayData;
use SilverStripe\Dev\Deprecation;
use SilverStripe\Forms\FormAction;
use SilverStripe\View\Requirements;
use SilverStripe\Control\Controller;
use SilverStripe\Core\Config\Config;
use Colymba\BulkUpload\BulkUploadField;
use Colymba\BulkUpload\BulkUploadHandler;
use SilverStripe\Control\HTTPRequest;
use SilverStripe\Forms\GridField\GridField_URLHandler;
use SilverStripe\Forms\GridField\GridField_HTMLProvider;
@ -334,7 +333,7 @@ class BulkUploader implements GridField_HTMLProvider, GridField_URLHandler
{
$controller = Controller::curr();
$controller->pushCurrent();
$handler = new \Colymba\BulkUpload\BulkUploadHandler($gridField, $this);
$handler = new BulkUploadHandler($gridField, $this);
return $handler->handleRequest($request);
}