Skip to content

Commit

Permalink
mysql_adaptor: remove unused AF_USER_OUTOFDATE
Browse files Browse the repository at this point in the history
This enumerator was historically used to flag accounts that have
exceeded the `end_day` column, but it was never used by Gromox.

References: GXL-435
  • Loading branch information
grammmike committed Oct 20, 2023
1 parent d73f493 commit 1ea9d52
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/gromox/mysql_adaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ enum {
/* Reason codes (users.address_status) for forbidden login */
AF_USER_NORMAL = 0x00,
AF_USER_SUSPENDED = 0x01,
AF_USER_OUTOFDATE = 0x02,
AF_USER_DELETED = 0x03,
AF_USER_SHAREDMBOX = 0x04,
AF_USER_CONTACT = 0x05,
Expand All @@ -20,7 +19,6 @@ enum {
// historically: groups with AF_GROUP__MASK = 0xC0, with statuses NORMAL..DELETED
AF_DOMAIN_NORMAL = 0x00,
AF_DOMAIN_SUSPENDED = 0x10,
AF_DOMAIN_OUTOFDATE = 0x20,
AF_DOMAIN_DELETED = 0x30,
AF_DOMAIN__MASK = 0x30,

Expand Down

0 comments on commit 1ea9d52

Please sign in to comment.