GridFieldBulkEditingTools/bulkUpload/code/GridFieldBulkImageUpload.php
2014-05-12 19:10:06 +03:00

25 lines
755 B
PHP

<?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);
}
}