Skip to content

Commit

Permalink
fixed example :)
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Nov 2, 2009
1 parent 2b02d6e commit af7cc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/simple-example.php
Expand Up @@ -9,7 +9,7 @@
$docData = $armchair->addDocument($entry);

// retrieve document
$document = $armchair->getDocument($docData['id']);
$document = $armchair->get($docData['id']);

// delete document
$armchair->deleteDocument($document['_id']);

0 comments on commit af7cc62

Please sign in to comment.