summaryrefslogtreecommitdiff
path: root/src/libaccountsservice/act-user-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libaccountsservice/act-user-manager.c')
-rw-r--r--src/libaccountsservice/act-user-manager.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libaccountsservice/act-user-manager.c b/src/libaccountsservice/act-user-manager.c
index 3c9ccac..9304ea6 100644
--- a/src/libaccountsservice/act-user-manager.c
+++ b/src/libaccountsservice/act-user-manager.c
@@ -1621,12 +1621,6 @@ maybe_add_new_session (ActUserManagerNewSession *new_session)
}
add_session_for_user (manager, user, new_session->id, is_ours);
-
- /* if we haven't yet gotten the login frequency
- then at least add one because the session exists */
- if (act_user_get_login_frequency (user) == 0) {
- _act_user_update_login_frequency (user, 1);
- }
}
static void