Skip to content

Commit

Permalink
Need to differentiate between different tasklists.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 18, 2015
1 parent 460b681 commit f4adc6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nag/lib/Driver/Kolab.php
Expand Up @@ -620,9 +620,9 @@ public function getChildren($parentId, $include_history = true)
public function synchronize($token = false)
{
$data = $this->_getData(true);
$last_token = $GLOBALS['session']->get('nag', 'kolab/token');
$last_token = $GLOBALS['session']->get('nag', 'kolab/token/' . $this->_tasklist);
if (empty($token) || empty($last_token) || $last_token != $token) {
$GLOBALS['session']->set('nag', 'kolab/token', $token);
$GLOBALS['session']->set('nag', 'kolab/token/' . $this->_tasklist, $token);
$data->synchronize();
}
}
Expand Down

0 comments on commit f4adc6f

Please sign in to comment.