The data_file field is public, so we don't need to use an accessor method.
This commit is contained in:
parent
8bd3f87286
commit
77b4baa3f5
|
@ -74,7 +74,7 @@ class keeporiginal_event_Core {
|
||||||
// VARPATH/original/ as well.
|
// VARPATH/original/ as well.
|
||||||
|
|
||||||
if ($old->is_photo() || $old->is_album()) {
|
if ($old->is_photo() || $old->is_album()) {
|
||||||
$data_file = $new->get_data_file();
|
$data_file = $new->data_file;
|
||||||
if (isset($data_file)) {
|
if (isset($data_file)) {
|
||||||
self::_preserve($old->file_path());
|
self::_preserve($old->file_path());
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user