mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37:03 +03:00
Improved idea #344
This commit is contained in:
parent
a57d4dc4b1
commit
3ab1725bb6
1 changed files with 3 additions and 0 deletions
|
|
@ -154,12 +154,15 @@ class PdoAddressBook
|
||||||
|
|
||||||
$sPath = $oClient->__UrlPath__;
|
$sPath = $oClient->__UrlPath__;
|
||||||
|
|
||||||
|
$time = \microtime(true);
|
||||||
$aRemoteSyncData = $this->prepareDavSyncData($oClient, $sPath);
|
$aRemoteSyncData = $this->prepareDavSyncData($oClient, $sPath);
|
||||||
if (false === $aRemoteSyncData)
|
if (false === $aRemoteSyncData)
|
||||||
{
|
{
|
||||||
\SnappyMail\Log::info('PdoAddressBook', 'Sync() no data to sync');
|
\SnappyMail\Log::info('PdoAddressBook', 'Sync() no data to sync');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
$time = \microtime(true) - $time;
|
||||||
|
\SnappyMail\HTTP\Stream::JSON(['messsage'=>"Fetched remote data in {$time} seconds"]);
|
||||||
|
|
||||||
$aDatabaseSyncData = $this->prepareDatabaseSyncData($this->iUserID);
|
$aDatabaseSyncData = $this->prepareDatabaseSyncData($this->iUserID);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue