Skip to content

Commit

Permalink
Fixing misleading ImageField deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
halkyon committed Oct 11, 2012
1 parent fe65da7 commit 27a7fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms/ImageField.php
Expand Up @@ -20,7 +20,7 @@
* $myField->setFolderName('myFolder'); * $myField->setFolderName('myFolder');
* </code> * </code>
* *
* @deprecated 3.0 Use UploadField with $myField->allowedExtensions = array('jpg', 'gif', 'png') * @deprecated 3.0 Use UploadField with $myField->getValidator()->setAllowedExtensions(array('jpg', 'gif', 'png'));
* *
* @package forms * @package forms
* @subpackage fields-files * @subpackage fields-files
Expand Down

0 comments on commit 27a7fc3

Please sign in to comment.