Skip to content

Commit

Permalink
Bug: 13386 Tweak logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 28, 2014
1 parent 7fe7ca7 commit c696469
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Connector.php
Expand Up @@ -919,7 +919,8 @@ public function getChanges($collection, $from_ts, $to_ts, $server_id)
throw new InvalidArgumentException('collection must be one of calendar, contacts, tasks or notes');
}

if (!$this->_registry->hasInterface($collection)) {
$app = $this->_registry->horde_hasInterface($collection);
if (!$app || $this->_registry->isInactive($app)) {
throw new Horde_Exception(sprintf('The %s interface is not active in Horde.', $collection));
}

Expand Down

0 comments on commit c696469

Please sign in to comment.