This entailed adding a new routine in include/Cron.php that checks for old users and purges their username and notes. As part of this some other changes were necessary: - Introduced a creation time for users, so it's possible to distinguish between an old user with no loans and a new user with no loans. - The user.name field in the database now allows null values.
2 lines
80 B
SQL
2 lines
80 B
SQL
alter table `user` add column `created` bigint(20) not null default 1735686000;
|