aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-09-19 23:53:43 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-09-20 00:51:00 +0200
commite243cb8b7d30374e3de5bbd2d9286c76470b70e6 (patch)
tree1e02edf245cbb0ee5a756c5421a24b17eae18742 /lib/public
parenta8f46af20f4fccac0257eba950e70d0da96c4a5a (diff)
downloadnextcloud-server-e243cb8b7d30374e3de5bbd2d9286c76470b70e6.tar.gz
nextcloud-server-e243cb8b7d30374e3de5bbd2d9286c76470b70e6.zip
chore: Remove deprecated `Share_Helper::generateTarget` `$exclude` parameterchore/add-deprecation-date
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Share_Backend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Share_Backend.php b/lib/public/Share_Backend.php
index 794d72b7873..0fa79854e10 100644
--- a/lib/public/Share_Backend.php
+++ b/lib/public/Share_Backend.php
@@ -30,14 +30,14 @@ interface Share_Backend {
* Get a unique name of the item for the specified user
* @param string $itemSource
* @param string|false $shareWith User the item is being shared with
- * @param array|null $exclude List of similar item names already existing as shared items @deprecated 7.0.0
* @return string Target name
*
* This function needs to verify that the user does not already have an item with this name.
* If it does generate a new name e.g. name_#
* @since 5.0.0
+ * @deprecated 31.0.0
*/
- public function generateTarget($itemSource, $shareWith, $exclude = null);
+ public function generateTarget($itemSource, $shareWith);
/**
* Converts the shared item sources back into the item in the specified format