owncloud/core — pull request #1286 by tomneedham (2013-01-23 23:34:00+00:00)
Title: Check that external api methods return instances of OC_OCS_Result

Catch an error if the api method doesn't return and OC_OCS_Result instance.