Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 25, 2015
1 parent c086f36 commit 6e27749
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions framework/ActiveSync/lib/Horde/ActiveSync/State/Mongo.php
Original file line number Diff line number Diff line change
Expand Up @@ -927,9 +927,6 @@ public function getLastSyncTimestamp($id = null, $user = null)
if (empty($results) || empty($results['ok'])) {
throw new Horde_ActiveSync_Exception(empty($results['errmsg']) ? 'Error running aggregation.' : $results['errmsg']);
}
if (empty($results) || empty($results['ok'])) {
return 0;
}
$results = current($results['result']);
return $results['max'];
}
Expand Down

0 comments on commit 6e27749

Please sign in to comment.