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

Code example for delete method is inaccurate #20

@boybert

Description

@boybert

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions