Commit e729b422 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #270 in ZP/z-push from...

Merge pull request #270 in ZP/z-push from bugfix/ZP-952-warnings-when-getting-hierarchy-notifications to develop

* commit '798e21f3':
  ZP-952 Fixed variable name.
parents e1e485a9 798e21f3
...@@ -595,7 +595,7 @@ class SyncCollections implements Iterator { ...@@ -595,7 +595,7 @@ class SyncCollections implements Iterator {
$validNotifications = false; $validNotifications = false;
foreach ($notifications as $backendFolderId) { foreach ($notifications as $backendFolderId) {
// Check hierarchy notifications // Check hierarchy notifications
if ($folderid === IBackend::HIERARCHYNOTIFICATION) { if ($backendFolderId === IBackend::HIERARCHYNOTIFICATION) {
// wait two seconds before validating this notification, because it could potentially be made by the mobile and we need some time to update the states. // wait two seconds before validating this notification, because it could potentially be made by the mobile and we need some time to update the states.
sleep(2); sleep(2);
// check received hierarchy notifications by exporting // check received hierarchy notifications by exporting
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment