We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64701f8 + 6983310 commit 32d1d82Copy full SHA for 32d1d82
lib/private/legacy/OC_App.php
@@ -255,11 +255,13 @@ public static function getInstallPath(): string|null {
255
256
257
/**
258
- * search for an app in all app-directories
+ * Find the apps root for an app id.
259
+ *
260
+ * If multiple copies are found, the apps root the latest version is returned.
261
*
262
* @param string $appId
263
* @param bool $ignoreCache ignore cache and rebuild it
- * @return false|string
264
+ * @return false|array{path: string, url: string} the apps root shape
265
*/
266
public static function findAppInDirectories(string $appId, bool $ignoreCache = false) {
267
$sanitizedAppId = self::cleanAppId($appId);
0 commit comments