summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-02-08 10:42:15 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-02-09 11:05:14 +0100
commitee65cd0bd80d3c46d1210e9a4e8b55b0252de450 (patch)
treec73462c80423d24100c16eef2fe4e240b6729fe6 /lib/public
parent7e0ddfe0d0dc2f947d1ed45d8fdc44f7badba6bb (diff)
downloadnextcloud-server-ee65cd0bd80d3c46d1210e9a4e8b55b0252de450.tar.gz
nextcloud-server-ee65cd0bd80d3c46d1210e9a4e8b55b0252de450.zip
Only set the default expiration date on share creation
Fixes #19685 The default expiration date should only be set when we create a new share. So if a share is created and the expiration date is unset. And after that the password is updated the expiration date should remain unset.
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/share/ishare.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/share/ishare.php b/lib/public/share/ishare.php
index 5054a886af5..8f5175b0dbf 100644
--- a/lib/public/share/ishare.php
+++ b/lib/public/share/ishare.php
@@ -46,7 +46,7 @@ interface IShare {
* Get the full share id. This is the <providerid>:<internalid>.
* The full id is unique in the system.
*
- * @return string
+ * @return string|null null is returned when the fullId can't be constructed
* @since 9.0.0
*/
public function getFullId();