mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-01-28 20:19:18 +00:00
delete preview images
This commit is contained in:
parent
8ee518e69b
commit
97e28a8fef
|
|
@ -52,6 +52,11 @@ if($document->isLocked()) {
|
|||
|
||||
$folder = $document->getFolder();
|
||||
|
||||
/* Remove all preview images. */
|
||||
require_once("SeedDMS/Preview.php");
|
||||
$previewer = new SeedDMS_Preview_Previewer($settings->_cacheDir);
|
||||
$previewer->deleteDocumentPreviews($document);
|
||||
|
||||
/* Get the notify list before removing the document */
|
||||
$dnl = $document->getNotifyList();
|
||||
$fnl = $folder->getNotifyList();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user