GridFieldBulkEditingTools/bulkUpload/code/GridFieldBulkImageUpload.php

25 lines
755 B
PHP
Raw Normal View History

2014-05-11 21:23:03 +02:00
<?php
/**
* Legacy GridFieldBulkImageUpload component
*
* @deprecated 2.0 "GridFieldBulkImageUpload" is deprecated, use {@link GridFieldBulkUpload} class instead.
*
* @author colymba
* @package GridFieldBulkEditingTools
* @subpackage BulkUpload
*/
class GridFieldBulkImageUpload extends GridFieldBulkUpload
{
/**
* Component constructor
*
* @deprecated 2.0 "GridFieldBulkImageUpload" is deprecated, use {@link GridFieldBulkUpload} class instead.
*
* @param string $fileRelationName
*/
public function __construct($fileRelationName = null)
{
Deprecation::notice('2.0', '"GridFieldBulkImageUpload" is deprecated, use "GridFieldBulkUpload" class instead.');
return new GridFieldBulkUpload($fileRelationName);
}
}