aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/App
diff options
context:
space:
mode:
authorDaniel Rudolf <github.com@daniel-rudolf.de>2019-08-25 15:27:04 +0200
committerDaniel Rudolf <github.com@daniel-rudolf.de>2019-08-25 15:27:04 +0200
commit34919d3ebc828314579d180a5ab261b67e6fc03c (patch)
treebe9d8fd93ab58b5cff1899e821c7b547ec226253 /lib/public/App
parenta4e6073e47b1574c4dd9342bde1601ece28bdb3c (diff)
downloadnextcloud-server-34919d3ebc828314579d180a5ab261b67e6fc03c.tar.gz
nextcloud-server-34919d3ebc828314579d180a5ab261b67e6fc03c.zip
Add IAppManager::getAppWebPath()
Implements a public API for \OC_App::getAppWebPath() Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
Diffstat (limited to 'lib/public/App')
-rw-r--r--lib/public/App/IAppManager.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index aebd47b3a2d..c57b94382a7 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -8,6 +8,7 @@
* @author Morris Jobke <hey@morrisjobke.de>
* @author Robin Appelman <robin@icewind.nl>
* @author Thomas Müller <thomas.mueller@tmit.eu>
+ * @author Daniel Rudolf <nextcloud.com@daniel-rudolf.de>
*
* @license AGPL-3.0
*
@@ -126,6 +127,16 @@ interface IAppManager {
public function getAppPath($appId);
/**
+ * Get the web path for the given app.
+ *
+ * @param string $appId
+ * @return string
+ * @since 17.0.0
+ * @throws AppPathNotFoundException
+ */
+ public function getAppWebPath($appId);
+
+ /**
* List all apps enabled for a user
*
* @param \OCP\IUser $user