修复函数参数不匹配问题

This commit is contained in:
zyx0814 2024-07-04 20:44:42 +08:00
parent 4504ceb71d
commit c1a54ab11e

View File

@ -323,10 +323,10 @@ class dzz_io
else return false;
}
function Delete($path,$force=false){
function Delete($path,$finaldelete=false,$force=false){
$path=self::clean($path);
if($io=self::initIO($path)) {
$return = $io->Delete($path,$force);
$return = $io->Delete($path,$finaldelete,$force);
Hook::listen("deleteafter_delindex",$return);
return $return;
}