function GetChangeCount() { if ($this->exporter) { return mapi_exportchanges_getchangecount($this->exporter); } else { return 0; } }
function GetChangeCount() { if ($this->exporter) { $changes = mapi_exportchanges_getchangecount($this->exporter); if ($this->_smsoutboxsync && $this->_smsoutboxinitialsync && $changes == 0) { return 1; } return $changes; } else { return 0; } }