diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-13 23:13:52 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-13 23:13:52 +0200 |
commit | 7faa40dc59738fc4b5bb9dd2121e433e2301c36b (patch) | |
tree | 2eac772fb6e39eebbf4349760f5757c6b2547ecf /controller/jsonhttperror.php | |
parent | f333f6b38f985c40247f7c82dd462f3016611dfe (diff) |
fix some tests
Diffstat (limited to 'controller/jsonhttperror.php')
-rw-r--r-- | controller/jsonhttperror.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/jsonhttperror.php b/controller/jsonhttperror.php index dca0cb2f3..b841ba5b5 100644 --- a/controller/jsonhttperror.php +++ b/controller/jsonhttperror.php @@ -23,7 +23,7 @@ trait JSONHttpError { * @param int the http error code * @return \OCP\AppFramework\Http\JSONResponse */ - protected function error($exception, $code) { + public function error($exception, $code) { return new JSONResponse( array('message' => $exception->getMessage()), $code |