summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-12-12 00:25:10 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-12-15 11:53:39 +0100
commitd8ad4ef6b5fc038e8187dc285925cd1a0d7fb5bf (patch)
tree2ecbc4bf0bcd0737f7cf57ecb6bbee22982a1928 /lib/public
parent2b017b704a4a49801bc09774a1a17cfedca9cc7e (diff)
downloadnextcloud-server-d8ad4ef6b5fc038e8187dc285925cd1a0d7fb5bf.tar.gz
nextcloud-server-d8ad4ef6b5fc038e8187dc285925cd1a0d7fb5bf.zip
use a consistent default value for sharing.maxAutocompleteResults
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Constants.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/Constants.php b/lib/public/Constants.php
index 2653031a430..64872821582 100644
--- a/lib/public/Constants.php
+++ b/lib/public/Constants.php
@@ -52,4 +52,10 @@ class Constants {
* longer support windows as server platform.
*/
public const FILENAME_INVALID_CHARS = "\\/";
+
+ /**
+ * @since 21.0.0 – default value for autocomplete/search results limit,
+ * cf. sharing.maxAutocompleteResults in config.sample.php.
+ */
+ public const SHARING_MAX_AUTOCOMPLETE_RESULTS_DEFAULT = 25;
}