]> source.dussan.org Git - nextcloud-server.git/commitdiff
typo fix from transifex suggestion
authorVolkan Gezer <wakeup@users.noreply.github.com>
Tue, 29 Jul 2014 15:47:42 +0000 (17:47 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 30 Jul 2014 12:07:32 +0000 (14:07 +0200)
lib/private/share/share.php

index 0c42853302da4d0f9c42ba3a72e530d8b576475b..88a28adb75b28d074db92aa16de5685a8ccff4ad 100644 (file)
@@ -955,8 +955,8 @@ class Share extends \OC\Share\Constants {
                        $maxDays = \OCP\Config::getAppValue('core', 'shareapi_expire_after_n_days', '7');
                        $maxDate->add(new \DateInterval('P' . $maxDays . 'D'));
                        if ($date > $maxDate) {
-                               $warning = 'Can not set expire date. Shares can not expire later then ' . $maxDays . ' after they where shared';
-                               $warning_t = $l->t('Can not set expire date. Shares can not expire later then %s after they where shared', array($maxDays));
+                               $warning = 'Can not set expire date. Shares can not expire later than ' . $maxDays . ' after they where shared';
+                               $warning_t = $l->t('Can not set expire date. Shares can not expire later than %s after they where shared', array($maxDays));
                                \OCP\Util::writeLog('OCP\Share', $warning, \OCP\Util::WARN);
                                throw new \Exception($warning_t);
                        }