diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-23 12:00:07 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-23 12:00:07 +0200 |
commit | af39e59e8893f75d156257f998f5f4d8faf668e8 (patch) | |
tree | 6f39004bf850199ee4ccefbb0a4e9079c97a5898 /lib/private/server.php | |
parent | bf1cb20e908d6cc6d84be733f7137a6edf92697b (diff) | |
download | nextcloud-server-af39e59e8893f75d156257f998f5f4d8faf668e8.tar.gz nextcloud-server-af39e59e8893f75d156257f998f5f4d8faf668e8.zip |
getService() is not needed -> remove
Diffstat (limited to 'lib/private/server.php')
-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 */ |