mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed broken notice
This commit is contained in:
parent
3cd4b33121
commit
390d3d3fc4
@ -69,7 +69,7 @@
|
||||
class SimpleImageField extends FileField {
|
||||
|
||||
function __construct($name, $title = null, $value = null) {
|
||||
Deprecation::notice('3.0', "Use UploadField with $myField->allowedExtensions = array('jpg', 'gif', 'png')");
|
||||
Deprecation::notice('3.0', "Use UploadField with \$myField->allowedExtensions = array('jpg', 'gif', 'png')");
|
||||
|
||||
if(count(func_get_args()) > 3) Deprecation::notice('3.0', 'Use setRightTitle() and setFolderName() instead of constructor arguments');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user