Skip to content

Commit

Permalink
Simplify.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 12, 2015
1 parent 6b7232e commit 26a5e83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions framework/ActiveSync/lib/Horde/ActiveSync/State/Sql.php
Expand Up @@ -909,8 +909,7 @@ public function removeState(array $options)
$results = $this->_db->selectValue($q, array($options['devId']));
if ($results != Horde_ActiveSync::RWSTATUS_NA &&
$results != Horde_ActiveSync::RWSTATUS_OK) {
unset($options['user']);
return $this->removeState($options);
return $this->removeState(array('devId' => $options['devId']));
}
} catch (Horde_Db_Exception $e) {
throw new Horde_ActiveSync_Exception($e);
Expand Down

0 comments on commit 26a5e83

Please sign in to comment.