mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
set default value for expire parameter
This commit is contained in:
parent
883d1c0df3
commit
3cd0caa643
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ class Defaults {
|
|||
* @param string $link link directly to the file/folder in your ownCloud
|
||||
* @param string $expiration expiration date
|
||||
*/
|
||||
public function getShareNotificationTextAlt($sender, $itemName, $link, $expiration) {
|
||||
public function getShareNotificationTextAlt($sender, $itemName, $link, $expiration=null) {
|
||||
return $this->defaults->getShareNotificationTextAlt($sender, $itemName, $link, $expiration);
|
||||
}
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ class Defaults {
|
|||
* @param string $link link directly to the file/folder in your ownCloud
|
||||
* @param string $expiration expiration date
|
||||
*/
|
||||
public function getShareNotificationTextHtml($sender, $itemName, $link, $expiration) {
|
||||
public function getShareNotificationTextHtml($sender, $itemName, $link, $expiration=null) {
|
||||
return $this->defaults->getShareNotificationTextHtml($sender, $itemName, $link, $expiration);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue