mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FEATURE: added after uploading notify method
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@73670 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e933d61a1c
commit
531c7b1d4d
@ -227,6 +227,13 @@ class File extends DataObject {
|
||||
|
||||
return $upload->isError();
|
||||
}
|
||||
|
||||
/**
|
||||
* Should be called after the file was uploaded
|
||||
*/
|
||||
function onAfterUpload() {
|
||||
$this->extend('onAfterUpload');
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete the database record (recursively for folders) without touching the filesystem
|
||||
|
Loading…
Reference in New Issue
Block a user