From ef3fefc00ec0f2d5e67c2b8e34bf6bdfb4b4aa62 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Fri, 16 Oct 2015 16:49:51 +0200 Subject: Remove apps/files/appinfo/remote.php - this is no longer used --- apps/files/appinfo/remote.php | 55 ------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 apps/files/appinfo/remote.php (limited to 'apps') diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php deleted file mode 100644 index d6a745d028e..00000000000 --- a/apps/files/appinfo/remote.php +++ /dev/null @@ -1,55 +0,0 @@ - - * @author Jakob Sack - * @author Joas Schilling - * @author Lukas Reschke - * @author Morris Jobke - * @author Robin Appelman - * @author Thomas Müller - * @author Vincent Petry - * - * @copyright Copyright (c) 2015, 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 - * - */ - -// no php execution timeout for webdav -set_time_limit(0); - -// Turn off output buffering to prevent memory problems -\OC_Util::obEnd(); - -$serverFactory = new \OCA\DAV\Connector\Sabre\ServerFactory( - \OC::$server->getConfig(), - \OC::$server->getLogger(), - \OC::$server->getDatabaseConnection(), - \OC::$server->getUserSession(), - \OC::$server->getMountManager(), - \OC::$server->getTagManager(), - \OC::$server->getEventDispatcher() -); - -// Backends -$authBackend = new \OCA\DAV\Connector\Sabre\Auth(); -$requestUri = \OC::$server->getRequest()->getRequestUri(); - -$server = $serverFactory->createServer($baseuri, $requestUri, $authBackend, function() { - // use the view for the logged in user - return \OC\Files\Filesystem::getView(); -}); - -// And off we go! -$server->exec(); -- cgit v1.2.3