Skip to content

Commit 2457bb3

Browse files
committed
fix(update.ajax): clean up the update entry when a new plugin install fails
1 parent 8823523 commit 2457bb3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/ajax/update.ajax.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
$update->doUpdate();
155155
} catch (Exception $e) {
156156
if ($new) {
157+
$update->deleteObjet();
157158
throw $e;
158159
} else {
159160
$update = $old_update;

0 commit comments

Comments
 (0)