This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Description
The example code for the delete method on the opensource.brightcove.com website is incorrect.
It reads:
// Delete a 'video' by ID, and cascade the deletion
$bc->delete('video', 123456789, NULL, TRUE);
but that example does not work. It should read:
// Delete a 'video' by ID, and cascade the deletion
$bc->delete('video', 123456789, NULL, array('cascade'=>TRUE));
Indicating that the options parameter is expecting an associative array.