summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2022-01-27 11:08:23 +0100
committerGitHub <noreply@github.com>2022-01-27 11:08:23 +0100
commit34f425c1504a79ef81f400862232bbd6776f5f7a (patch)
treef7685e5cbb23c4055be407cee74610facbfcf8e5 /lib
parent3500d8b9805555211438509885b34e5ba60a9c8e (diff)
parentba1338e6800d20311155be5f3a5d8c5738e88a62 (diff)
downloadnextcloud-server-34f425c1504a79ef81f400862232bbd6776f5f7a.tar.gz
nextcloud-server-34f425c1504a79ef81f400862232bbd6776f5f7a.zip
Merge pull request #30858 from nextcloud/fix/ajax-list-dir-content-on-file
Return 404 when AJAX tries to list dir content but file given
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php
index a9b1b87c8e7..fb300134c86 100644
--- a/lib/private/Files/Filesystem.php
+++ b/lib/private/Files/Filesystem.php
@@ -835,7 +835,7 @@ class Filesystem {
* @param string $path
* @param boolean $includeMountPoints whether to add mountpoint sizes,
* defaults to true
- * @return \OC\Files\FileInfo|bool False if file does not exist
+ * @return \OC\Files\FileInfo|false False if file does not exist
*/
public static function getFileInfo($path, $includeMountPoints = true) {
return self::$defaultInstance->getFileInfo($path, $includeMountPoints);