Skip to content
Permalink
Browse files

Fixing misleading ImageField deprecation message

  • Loading branch information...
halkyon committed Oct 11, 2012
1 parent fe65da7 commit 27a7fc34c1a00055e8978f5a9825d72aa97ff0ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/ImageField.php
@@ -20,7 +20,7 @@
* $myField->setFolderName('myFolder');
* </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
* @subpackage fields-files

0 comments on commit 27a7fc3

Please sign in to comment.
You can’t perform that action at this time.