Skip to content

Commit 363befa

Browse files
authored
Tp account deletion double plugin run fix (#600)
* fix double run_plugins * update changelog
1 parent eaf5291 commit 363befa

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.4.33 (Unreleased)
4+
5+
* Fix bug in TP account deletion
6+
37
## 1.4.32 (2025-04-22)
48

59
* Fix error when subscribing / unsubscribing to email

core/tps.service.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ async function delete_tp_user(user) {
211211
try {
212212
await udbsrv.delete_dbs(user);
213213
await fwebs.delete_webs(user);
214-
await usrsrv.delete_user(user);
215-
await plgsrv.run_plugins('remove', user.uid, user, 'auto@tp');
214+
await usrsrv.delete_user(user, 'auto@tp');
216215
} catch(exception) {
217216
logger.error(exception);
218217
}

0 commit comments

Comments
 (0)