Skip to content
Snippets Groups Projects
Commit 8f9d3cd0 authored by Tom Needham's avatar Tom Needham
Browse files

Code style update

parent 9dc66874
Branches
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ class OC_API {
if(self::isAuthorised(self::$actions[$name])) {
if(is_callable(self::$actions[$name]['action'])) {
$response = call_user_func(self::$actions[$name]['action'], $parameters);
if(!($response instanceof OC_OCS_Result)){
if(!($response instanceof OC_OCS_Result)) {
$response = new OC_OCS_Result(null, 996, 'Internal Server Error');
}
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment