X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FImages.php;fp=DataObjects%2FImages.php;h=31fd50b9c0132b8de9d7dd51352493797fb8b829;hp=4f226cd2a7a14be62b53e2bd4c9605450da76d09;hb=ae0bd77849974c3b9fec412f285ea824b5455fe7;hpb=6a58e2e22179d5214c2314ff1971795062986745 diff --git a/DataObjects/Images.php b/DataObjects/Images.php index 4f226cd2..31fd50b9 100644 --- a/DataObjects/Images.php +++ b/DataObjects/Images.php @@ -223,7 +223,11 @@ class Pman_Core_DataObjects_Images extends DB_DataObject } return $ret; } - + /** + * the getStorename code got changed, and some old files may not end up with the correct name anymore. + * this tries to fix it. + * + */ function canFix() { // look for the image in the folder, with matching id. // this is problematic..