From 83e02cafd5db45c50143e614fe13cb5fd261e2db Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 3 Sep 2015 23:35:45 +0800 Subject: Bug 1201536 - 2FA secrets for all users are removed when someone disables 2FA --- Bugzilla/MFA.pm | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Bugzilla/MFA.pm') diff --git a/Bugzilla/MFA.pm b/Bugzilla/MFA.pm index 564f124cd..5db38e55e 100644 --- a/Bugzilla/MFA.pm +++ b/Bugzilla/MFA.pm @@ -54,11 +54,4 @@ sub property_delete { undef, $self->{user}->id, $name); } -sub property_delete_all { - my ($self) = @_; - Bugzilla->dbh->do( - "DELETE FROM profile_mfa WHERE user_id", - undef, $self->{user}->id); -} - 1; -- cgit v1.2.3-24-g4f1b