lirantal / daloradius

daloRADIUS is an advanced RADIUS web management application for managing hotspots and general-purpose ISP deployments. It features user management, graphical reporting, accounting, a billing engine, and integrates with OpenStreetMap for geolocation. The system is based on FreeRADIUS with which it shares access to the backend database.
http://www.daloradius.com
GNU General Public License v2.0
680 stars 340 forks source link

fix/acct-maintenance-delete: delete records in specific day #578

Closed parsa97 closed 5 days ago

parsa97 commented 5 days ago

The current DELETE query does not remove entries until the end of the specified date, as it only matches entries within the range. This PR modifies the SQL query by adding one day to the end date to ensure it matches and deletes all entries up to and including the specified date.