mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7553 from dhensby/pulls/4.0/upload-be-gone
DOCS Add required import for docs example
This commit is contained in:
commit
5f8613631f
@ -827,6 +827,7 @@ Usages of `UploadField` will need to be upgraded as below.
|
||||
use SilverStripe\Forms\FieldList;
|
||||
-use SilverStripe\AssetAdmin\Forms\UploadField;
|
||||
+use SilverStripe\Forms\FileHandleField;
|
||||
+use SilverStripe\Core\Injector\Injector;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
|
||||
class MyClass extends DataObject
|
||||
|
Loading…
Reference in New Issue
Block a user