1
0

The data_file field is public, so we don't need to use an accessor method.

This commit is contained in:
Chad Parry 2011-04-30 18:11:39 -06:00
parent 8bd3f87286
commit 77b4baa3f5

View File

@ -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 {
}
}
}
}
}