aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2025-07-22 11:53:15 -0100
committerMaxence Lange <maxence@artificial-owl.com>2025-07-22 12:21:29 -0100
commitc15b7aa2a0ba523a6ff1eaa33315825b6f65340b (patch)
tree826f9efe307521c8e16670db0d6903058ea16027
parent36c3270b39f66b5d87f073f4100b6232bac6040e (diff)
downloadnextcloud-server-fix/noid/mark-searchkeys-as-internal.tar.gz
nextcloud-server-fix/noid/mark-searchkeys-as-internal.zip
fix(appconfig): mark searchKeys() as internal until 32fix/noid/mark-searchkeys-as-internal
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/private/AppConfig.php2
-rw-r--r--lib/public/IAppConfig.php14
2 files changed, 1 insertions, 15 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php
index be3503eba99..85b5b402e4b 100644
--- a/lib/private/AppConfig.php
+++ b/lib/private/AppConfig.php
@@ -98,7 +98,6 @@ class AppConfig implements IAppConfig {
*
* @param string $app id of the app
* @return list<string> list of stored config keys
- * @see searchKeys to not load lazy config keys
*
* @since 29.0.0
*/
@@ -119,6 +118,7 @@ class AppConfig implements IAppConfig {
* @param bool $lazy TRUE to search in lazy config keys
* @return list<string> list of stored config keys
* @since 32.0.0
+ * @internal not publicly available before 32.
*/
public function searchKeys(string $app, string $prefix = '', bool $lazy = false): array {
$this->assertParams($app);
diff --git a/lib/public/IAppConfig.php b/lib/public/IAppConfig.php
index 39fedf4513a..0529c94c2de 100644
--- a/lib/public/IAppConfig.php
+++ b/lib/public/IAppConfig.php
@@ -66,26 +66,12 @@ interface IAppConfig {
*
* @param string $app id of the app
* @return list<string> list of stored config keys
- * @see searchKeys to avoid loading lazy config keys
*
* @since 29.0.0
*/
public function getKeys(string $app): array;
/**
- * Returns list of keys stored in database, related to an app.
- * Please note that the values are not returned.
- *
- * @param string $app id of the app
- * @param string $prefix returns only keys starting with this value
- * @param bool $lazy TRUE to search in lazy config keys
- *
- * @return list<string> list of stored config keys
- * @since 32.0.0
- */
- public function searchKeys(string $app, string $prefix = '', bool $lazy = false): array;
-
- /**
* Check if a key exists in the list of stored config values.
*
* @param string $app id of the app