aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-09-09 12:20:27 +0200
committerGitHub <noreply@github.com>2019-09-09 12:20:27 +0200
commitb3f663b8aa0f458c3d89a94bb88716bfd7c0e892 (patch)
tree393f2f347fd206d4e299cae186f77cfc67960122 /lib/private/legacy
parent20e8ee171d1a2fb63e8c5413b4bad2e880ea2c12 (diff)
parent2d56664e3587214254c1fd35370b6854c0ad878b (diff)
downloadnextcloud-server-b3f663b8aa0f458c3d89a94bb88716bfd7c0e892.tar.gz
nextcloud-server-b3f663b8aa0f458c3d89a94bb88716bfd7c0e892.zip
Merge pull request #16859 from PhrozenByte/patch-1
Add IAppManager::getAppWebPath()
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index 58b617aae45..9e47f9064d9 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -485,6 +485,7 @@ class OC_App {
*
* @param string $appId
* @return string|false
+ * @deprecated 11.0.0 use \OC::$server->getAppManager()->getAppPath()
*/
public static function getAppPath(string $appId) {
if ($appId === null || trim($appId) === '') {
@@ -503,6 +504,7 @@ class OC_App {
*
* @param string $appId
* @return string|false
+ * @deprecated 18.0.0 use \OC::$server->getAppManager()->getAppWebPath()
*/
public static function getAppWebPath(string $appId) {
if (($dir = self::findAppInDirectories($appId)) != false) {