mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
This is a Handler not a Request
BulkUploadRequest is now BulkUploadHandler as it should
This commit is contained in:
parent
b081d68b92
commit
c1c0826718
@ -18,7 +18,7 @@ use SilverStripe\AssetAdmin\Controller\AssetAdmin;
|
|||||||
*
|
*
|
||||||
* @author colymba
|
* @author colymba
|
||||||
*/
|
*/
|
||||||
class BulkUploaderRequest extends RequestHandler
|
class BulkUploadHandler extends RequestHandler
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gridfield instance.
|
* Gridfield instance.
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Colymba\BulkUpload;
|
namespace Colymba\BulkUpload;
|
||||||
|
|
||||||
use Colymba\BulkUpload\BulkUploaderRequest;
|
use Colymba\BulkUpload\BulkUploadHandler;
|
||||||
use Colymba\BulkUpload\BulkUploadField;
|
use Colymba\BulkUpload\BulkUploadField;
|
||||||
|
|
||||||
use SilverStripe\Core\Config\Config;
|
use SilverStripe\Core\Config\Config;
|
||||||
@ -429,7 +429,7 @@ class BulkUploader implements GridField_HTMLProvider, GridField_URLHandler
|
|||||||
public function handleBulkUpload($gridField, $request)
|
public function handleBulkUpload($gridField, $request)
|
||||||
{
|
{
|
||||||
$controller = $gridField->getForm()->getController();
|
$controller = $gridField->getForm()->getController();
|
||||||
$handler = new \Colymba\BulkUpload\BulkUploaderRequest($gridField, $this, $controller);
|
$handler = new \Colymba\BulkUpload\BulkUploadHandler($gridField, $this, $controller);
|
||||||
|
|
||||||
return $handler->handleRequest($request);
|
return $handler->handleRequest($request);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user