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