mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +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__;
|
||||
|
||||
$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…
Add table
Add a link
Reference in a new issue