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