Get new messages/tickest from a previously assembled count.

Version 1.561

Feature
Finished

Each page load would previous count the number messages and tickets sent to an account from the tickets.list. This could be slow if there were many messages. Design change to save the current count of messages to the ticket.conf for that User, for both messages and tickets when a message is being saved to this account. When the next page load happens, the the .conf can much more quickly read in the numbers. Also added new global tokens: TICKET_SYSTEM_ENABLED=1|0 which reads the current account's creator's ticket.conf file to check the active=yes or not.

Interested to try DirectAdmin? Get a 30-day Free Trial!