Skip to content

Commit

Permalink
Fix redundant update specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 5, 2016
1 parent 559815d commit bfe5ce6
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -131,10 +131,9 @@ public function read($id)
self::SID => $id,
self::LOCK => array('$exists' => $exist_check)
),
array($data),
array('$set' => $data),
array(self::DATA => true),
array(
'update' => array('$set' => $data),
'upsert' => !$exists
)
);
Expand Down

0 comments on commit bfe5ce6

Please sign in to comment.