diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/server.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/private/server.php b/lib/private/server.php index 2e77eeb91c5..26eb99927fc 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -76,9 +76,6 @@ class Server extends SimpleContainer implements IServerContainer { /** @var string */ private $webRoot; - /** @var string */ - protected $service = null; - /** * @param string $webRoot */ @@ -1071,23 +1068,6 @@ class Server extends SimpleContainer implements IServerContainer { } /** - * @return requested service - */ - public function getService() { - if (! isset ($this->service )) { - $pathInfo = self::getRequest ()->getPathInfo (); - if ($pathInfo === false || $pathInfo === '') { - return; - } - if (! $pos = strpos ( $pathInfo, '/', 1 )) { - $pos = strlen ( $pathInfo ); - } - $this->service=substr ( $pathInfo, 1, $pos - 1 ); - } - return $this->service; - } - - /** * Not a public API as of 8.2, wait for 9.0 * @return \OCA\Files_External\Service\BackendService */ |