diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-08-30 19:13:01 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-16 13:17:12 +0200 |
commit | f2889dc6e4aa701f36081b314f38f620cbb1fc88 (patch) | |
tree | 8969d61c3dc2a71cd8eb1b745d88fc10782e1d75 /tests/lib/connector/sabre/requesttest/exceptionplugin.php | |
parent | 4b9ec49285081137195c5852682b127a37ea8bfe (diff) | |
download | nextcloud-server-f2889dc6e4aa701f36081b314f38f620cbb1fc88.tar.gz nextcloud-server-f2889dc6e4aa701f36081b314f38f620cbb1fc88.zip |
Consolidate webdav code - move all to one app
Diffstat (limited to 'tests/lib/connector/sabre/requesttest/exceptionplugin.php')
-rw-r--r-- | tests/lib/connector/sabre/requesttest/exceptionplugin.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/lib/connector/sabre/requesttest/exceptionplugin.php b/tests/lib/connector/sabre/requesttest/exceptionplugin.php deleted file mode 100644 index 2b9e5d6d46d..00000000000 --- a/tests/lib/connector/sabre/requesttest/exceptionplugin.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/** - * Copyright (c) 2015 Robin Appelman <icewind@owncloud.com> - * This file is licensed under the Affero General Public License version 3 or - * later. - * See the COPYING-README file. - */ - -namespace Test\Connector\Sabre\RequestTest; - -use Sabre\DAV\Exception; - -class ExceptionPlugin extends \OC\Connector\Sabre\ExceptionLoggerPlugin { - /** - * @var \Exception[] - */ - protected $exceptions = []; - - public function logException(\Exception $ex) { - $exceptionClass = get_class($ex); - if (!isset($this->nonFatalExceptions[$exceptionClass])) { - $this->exceptions[] = $ex; - } - } - - /** - * @return \Exception[] - */ - public function getExceptions() { - return $this->exceptions; - } -} |