mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
SeedDMS_Core_Folder::empty is now emptyFolder
This commit is contained in:
parent
ba9f4ba749
commit
111a2beec6
|
@ -58,7 +58,7 @@ class SeedDMS_Controller_EmptyFolder extends SeedDMS_Controller_Common {
|
||||||
if($index)
|
if($index)
|
||||||
$dms->setCallback('onPreEmptyDocument', 'removeFromIndex', array($index, $indexconf));
|
$dms->setCallback('onPreEmptyDocument', 'removeFromIndex', array($index, $indexconf));
|
||||||
|
|
||||||
if (!$folder->empty()) {
|
if (!$folder->emptyFolder()) {
|
||||||
$this->errormsg = 'error_occured';
|
$this->errormsg = 'error_occured';
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user