Fix delete

This commit is contained in:
Ibnu Maksum 2023-01-31 09:14:02 +07:00
parent d5f29a5c74
commit d526ceb6bc
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
5 changed files with 7 additions and 4 deletions

View file

@ -79,6 +79,7 @@ switch ($action) {
try {
$d->delete();
} catch (Exception $e) {
} catch(Throwable $e){
}
try {
$c->delete();
@ -88,10 +89,12 @@ switch ($action) {
try {
$d->delete();
} catch (Exception $e) {
} catch(Throwable $e){
}
try {
$c->delete();
} catch (Exception $e) {
} catch(Throwable $e){
}
}