diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-17 10:36:56 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-25 14:59:59 +0200 |
commit | 3a716ae91c20f48737ad5f9192b20967252e74ec (patch) | |
tree | f5c59dcb7d51cca8dc35f28bf6f5ca346a9506b7 /apps/files_sharing/lib/exceptions | |
parent | 5001036fd49cecdf1dcda1b4aed0be1b24d18c24 (diff) | |
download | nextcloud-server-3a716ae91c20f48737ad5f9192b20967252e74ec.tar.gz nextcloud-server-3a716ae91c20f48737ad5f9192b20967252e74ec.zip |
Move lib/ to PSR-4
Diffstat (limited to 'apps/files_sharing/lib/exceptions')
-rw-r--r-- | apps/files_sharing/lib/exceptions/brokenpath.php | 32 | ||||
-rw-r--r-- | apps/files_sharing/lib/exceptions/s2sexception.php | 30 |
2 files changed, 0 insertions, 62 deletions
diff --git a/apps/files_sharing/lib/exceptions/brokenpath.php b/apps/files_sharing/lib/exceptions/brokenpath.php deleted file mode 100644 index 4639d47c4a6..00000000000 --- a/apps/files_sharing/lib/exceptions/brokenpath.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/** - * @author Björn Schießle <schiessle@owncloud.com> - * @author Morris Jobke <hey@morrisjobke.de> - * - * @copyright Copyright (c) 2016, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see <http://www.gnu.org/licenses/> - * - */ - -namespace OCA\Files_Sharing\Exceptions; - -/** - * Expected path with a different root - * Possible Error Codes: - * 10 - Path not relative to data/ and point to the users file directory - - */ -class BrokenPath extends \Exception { -} diff --git a/apps/files_sharing/lib/exceptions/s2sexception.php b/apps/files_sharing/lib/exceptions/s2sexception.php deleted file mode 100644 index 1ed6a9e2179..00000000000 --- a/apps/files_sharing/lib/exceptions/s2sexception.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * @author Björn Schießle <schiessle@owncloud.com> - * @author Morris Jobke <hey@morrisjobke.de> - * @author Roeland Jago Douma <rullzer@owncloud.com> - * - * @copyright Copyright (c) 2016, ownCloud, Inc. - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License, version 3, - * along with this program. If not, see <http://www.gnu.org/licenses/> - * - */ - -namespace OCA\Files_Sharing\Exceptions; - -/** - * S2S sharing not allowed - */ -class S2SException extends \Exception { -} |