mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Improve library delete/purge function
This commit is contained in:
parent
104e2929df
commit
6a87dc9c40
6 changed files with 130 additions and 122 deletions
|
@ -684,7 +684,8 @@ class Users(object):
|
|||
if purge_only:
|
||||
return True
|
||||
else:
|
||||
logger.info(u"Tautulli Users :: Deleting user with user_id %s from database." % user_id)
|
||||
logger.info(u"Tautulli Users :: Deleting user with user_id %s from database."
|
||||
% user_id)
|
||||
try:
|
||||
monitor_db.action('UPDATE users '
|
||||
'SET deleted_user = 1, keep_history = 0, do_notify = 0 '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue