diff options
author | Robin Appelman <robin@icewind.nl> | 2021-08-04 18:59:47 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2021-10-19 11:31:07 +0200 |
commit | ab275c5e38de80b6cbc1a60890d8076f5075cace (patch) | |
tree | 098244abbe6919fd5847f8390f19cb0b8dc1b39e /apps/files_sharing/appinfo | |
parent | 1b16a136ebd8f63e09df061d383f34170e2cef35 (diff) | |
download | nextcloud-server-ab275c5e38de80b6cbc1a60890d8076f5075cace.tar.gz nextcloud-server-ab275c5e38de80b6cbc1a60890d8076f5075cace.zip |
move files_sharing to IBootStrap
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php deleted file mode 100644 index 79be3732773..00000000000 --- a/apps/files_sharing/appinfo/app.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php -/** - * @copyright Copyright (c) 2016, ownCloud, Inc. - * - * @author Björn Schießle <bjoern@schiessle.org> - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Morris Jobke <hey@morrisjobke.de> - * @author Robin Appelman <robin@icewind.nl> - * - * @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/> - * - */ -use OCA\Files_Sharing\ShareBackend\File; -use OCA\Files_Sharing\ShareBackend\Folder; -use OCA\Files_Sharing\AppInfo\Application; - -\OCA\Files_Sharing\Helper::registerHooks(); - -\OC\Share\Share::registerBackend('file', File::class); -\OC\Share\Share::registerBackend('folder', Folder::class, 'file'); - -\OC::$server->query(Application::class); |