mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
seed_box_record_deleted
This commit is contained in:
@@ -116,6 +116,7 @@ class SeedBoxRepository extends BaseRepository
|
|||||||
public function delete($id, $uid)
|
public function delete($id, $uid)
|
||||||
{
|
{
|
||||||
$this->clearCache();
|
$this->clearCache();
|
||||||
|
publish_model_event("seed_box_record_deleted", $id);
|
||||||
return SeedBoxRecord::query()->whereIn('id', Arr::wrap($id))->where('uid', $uid)->delete();
|
return SeedBoxRecord::query()->whereIn('id', Arr::wrap($id))->where('uid', $uid)->delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user