[PCBC-135] Wrong parameter description for delete() Created: 08/Oct/12  Updated: 26/Aug/13  Resolved: 27/Nov/12

Status: Closed
Project: Couchbase PHP client library
Component/s: docs
Affects Version/s: 1.0, 1.1.0-dp4
Fix Version/s: 1.1.0
Security Level: Public

Type: Bug Priority: Minor
Reporter: Dan Andersen Assignee: kzeller
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
The docs API for the delete method says: ( http://www.couchbase.com/docs/couchbase-sdk-php-1.1/api-reference-update.html#table-couchbase-sdk_php_delete )

$object->delete($key [, $expiry ])

But the expire should actually be cas, as in the source https://github.com/couchbase/php-ext-couchbase/blob/master/couchbase.c#L401


 Comments   
Comment by Matt Ingenthron [ 08/Oct/12 ]
Please update this in both the 1.0 and 1.1 SDK docs.
Comment by kzeller [ 27/Nov/12 ]
Should be fixed with this change, I think:

      <argument inherit="cas" optional="yes"/>
Comment by kzeller [ 27/Nov/12 ]
should be the fix:

      <argument inherit="cas" optional="yes"/>
Generated at Thu Oct 23 07:08:00 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.