ftimme
2012-09-04 b889edb33e4a09cc1f65d2fb9ad9f9ea16b1eae9
server/mods-available/monitor_core_module.inc.php
@@ -117,13 +117,17 @@
   }
    private function _monitorEmailQuota() {
        global $app;
        global $app, $conf;
        /*
       *  This monitoring is expensive, so do it only every 15 minutes
       */
      $min = @date('i');
      if ($min % 15 != 0) return;
      $app->uses('getconf');
      $mail_config = $app->getconf->get_server_config($conf['server_id'], 'mail');
      if($mail_config['mailbox_quota_stats'] == 'n') return;
      
      
      /*
@@ -704,7 +708,7 @@
      $res = $this->_tools->monitorISPCCronLog();
      
      //* Ensure that output is encoded so that it does not break the serialize
      $res['data']['output'] = htmlentities($res['data']['output']);
      $res['data'] = htmlentities($res['data']);
      /*
       * Insert the data into the database