]> source.dussan.org Git - nextcloud-server.git/commitdiff
Autoload exception from files_trashbin
authorJoas Schilling <nickvergessen@gmx.de>
Tue, 2 Dec 2014 16:26:42 +0000 (17:26 +0100)
committerJoas Schilling <nickvergessen@gmx.de>
Tue, 2 Dec 2014 16:26:42 +0000 (17:26 +0100)
apps/files_trashbin/appinfo/app.php
apps/files_trashbin/lib/exceptions.php [deleted file]
apps/files_trashbin/lib/exceptions/copyrecursiveexception.php [new file with mode: 0644]

index 7df52da6314f33e78ee167bd3dc63cd7c1d218e1..0e2cbaa529fdeed1b11c57e98f4aa7f1a6ea0fb8 100644 (file)
@@ -3,8 +3,6 @@ $l = \OC::$server->getL10N('files_trashbin');
 
 OCP\Util::addTranslations('files_trashbin');
 
-OC::$CLASSPATH['OCA\Files_Trashbin\Exceptions\CopyRecursiveException'] = 'files_trashbin/lib/exceptions.php';
-
 // register hooks
 \OCA\Files_Trashbin\Trashbin::registerHooks();
 
diff --git a/apps/files_trashbin/lib/exceptions.php b/apps/files_trashbin/lib/exceptions.php
deleted file mode 100644 (file)
index 23e5029..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-/**
- * ownCloud - trash bin
- *
- * @author Bjoern Schiessle
- * @copyright 2014 Bjoern Schiessle schiessle@owncloud.com
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or any later version.
- *
- * This library 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 along with this library.  If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-namespace OCA\Files_Trashbin\Exceptions;
-
-class CopyRecursiveException extends \Exception {
-}
diff --git a/apps/files_trashbin/lib/exceptions/copyrecursiveexception.php b/apps/files_trashbin/lib/exceptions/copyrecursiveexception.php
new file mode 100644 (file)
index 0000000..23e5029
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+/**
+ * ownCloud - trash bin
+ *
+ * @author Bjoern Schiessle
+ * @copyright 2014 Bjoern Schiessle schiessle@owncloud.com
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or any later version.
+ *
+ * This library 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 along with this library.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+namespace OCA\Files_Trashbin\Exceptions;
+
+class CopyRecursiveException extends \Exception {
+}