mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 03:48:47 +08:00
删除插件会删除附件修复
This commit is contained in:
parent
ecf137039d
commit
011736101d
@ -468,15 +468,19 @@ class PluginsAdminService
|
||||
}
|
||||
}
|
||||
|
||||
// 删除数据库附件
|
||||
ResourcesService::AttachmentPathTypeDelete('plugins_'.$plugins);
|
||||
// 删除应用文件
|
||||
self::PluginsResourcesDelete($plugins, $is_delete_data);
|
||||
|
||||
// 删除数据
|
||||
if($is_delete_data === true)
|
||||
{
|
||||
// 删除数据库附件
|
||||
ResourcesService::AttachmentPathTypeDelete('plugins_'.$plugins);
|
||||
}
|
||||
|
||||
// 插件事件回调
|
||||
PluginsService::PluginsEventCall($plugins, 'Delete', $params);
|
||||
|
||||
// 删除应用文件
|
||||
self::PluginsResourcesDelete($plugins, $is_delete_data);
|
||||
|
||||
return DataReturn('删除成功');
|
||||
}
|
||||
return $ret;
|
||||
|
Loading…
Reference in New Issue
Block a user