aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-08-07 01:40:56 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-07 01:40:56 +0200
commitc07a0b7ad8ffd5ac59536ad4caf3c9a61d16f7b8 (patch)
tree7fa2ca0d329e1d2aeb6d63bedba83ec131f4bae9
parenta72dae6842d6b550ccc8e8eb9a03f6911ae46d18 (diff)
parent173538befbbc00b356728db0ee3f6759221d63e4 (diff)
downloadnextcloud-server-c07a0b7ad8ffd5ac59536ad4caf3c9a61d16f7b8.tar.gz
nextcloud-server-c07a0b7ad8ffd5ac59536ad4caf3c9a61d16f7b8.zip
Merge pull request #10224 from owncloud/typo-fix
typo fix from transifex suggestion
-rw-r--r--lib/private/share/share.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 47b82f2a42d..646511fd64d 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -956,8 +956,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 = 'Cannot set expiration date. Shares cannot expire later than ' . $maxDays . ' after they where shared';
- $warning_t = $l->t('Cannot set expiration date. Shares cannot expire later than %s after they where shared', array($maxDays));
+ $warning = 'Cannot set expiration date. Shares cannot expire later than ' . $maxDays . ' after they have been shared';
+ $warning_t = $l->t('Cannot set expiration date. Shares cannot expire later than %s after they have been shared', array($maxDays));
\OCP\Util::writeLog('OCP\Share', $warning, \OCP\Util::WARN);
throw new \Exception($warning_t);
}