| | |
| | | public function onRunJob() { |
| | | global $app, $conf; |
| | | |
| | | ######### |
| | | //######## |
| | | // function for sending notification emails |
| | | ######### |
| | | //######## |
| | | function send_notification_email($template, $placeholders, $recipients) { |
| | | global $conf; |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | ####################################################################################################### |
| | | //###################################################################################################### |
| | | // enforce traffic quota (run only on the "master-server") |
| | | ####################################################################################################### |
| | | //###################################################################################################### |
| | | |
| | | if ($app->dbmaster == $app->db) { |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | ####################################################################################################### |
| | | //###################################################################################################### |
| | | // send website quota warnings by email |
| | | ####################################################################################################### |
| | | //###################################################################################################### |
| | | |
| | | if ($app->dbmaster == $app->db) { |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | ####################################################################################################### |
| | | //###################################################################################################### |
| | | // send mail quota warnings by email |
| | | ####################################################################################################### |
| | | //###################################################################################################### |
| | | |
| | | if ($app->dbmaster == $app->db) { |
| | | |