mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX Image backend ignoring config.
The method directly calls the static property instead of the config value.
This commit is contained in:
parent
4d603b85f0
commit
51337acda9
@ -732,7 +732,7 @@ class Image extends File {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function onBeforeDelete() {
|
protected function onBeforeDelete() {
|
||||||
$backend = Injector::inst()->create(self::$backend);
|
$backend = Injector::inst()->create(self::get_backend());
|
||||||
$backend->onBeforeDelete($this);
|
$backend->onBeforeDelete($this);
|
||||||
|
|
||||||
$this->deleteFormattedImages();
|
$this->deleteFormattedImages();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user