boboldehampsink / zipassets

DEPRECATED - Zip Assets plugin for Craft CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inadvertently deleting assets?

johndwells opened this issue · comments

Line 52 in ZipAssetsService.php:

IOHelper::deleteFile($file);

Is this right? From what I'm reading this is looping through the selected assets to download.

We have a client who's assets had mysteriously disappeared and we were unsure as to why... is this the reason?

NEVERMIND - I can see it's a "localCopy" of the asset. Sorry, minor panic over here.