]> source.dussan.org Git - nextcloud-server.git/commitdiff
set default value for expire parameter
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 25 Sep 2013 10:15:30 +0000 (12:15 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 25 Sep 2013 10:15:30 +0000 (12:15 +0200)
lib/public/defaults.php

index 10bd07bab54cbeb156588806e7a2b2183430b465..a508c504c9415b2f077509c75d7d533cbccaab92 100644 (file)
@@ -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);
        }