summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2016-11-16 11:47:39 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2016-11-16 11:47:39 +0100
commitb228ed7bef8481b7c00482d49194608547ba3713 (patch)
tree2b4acd4d2a5559d98d0d301ebbbde423b9b489d4 /lib/base.php
parent3c00ff2616ce47988b635447bbe55fe4ff25585e (diff)
downloadnextcloud-server-b228ed7bef8481b7c00482d49194608547ba3713.tar.gz
nextcloud-server-b228ed7bef8481b7c00482d49194608547ba3713.zip
add explanatory text of what to do on app version error
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index 909a62040ee..6db2c08e79e 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -390,8 +390,8 @@ class OC {
foreach ($incompatibleApps as $appInfo) {
if ($appManager->isShipped($appInfo['id'])) {
$l = \OC::$server->getL10N('core');
- $hint = $l->t('The files of the app "%$1s" (%$2s) were not replaced correctly.', [$appInfo['name'], $appInfo['id']]);
- throw new \OC\HintException('The files of the app "' . $appInfo['name'] . '" (' . $appInfo['id'] . ') were not replaced correctly.', $hint);
+ $hint = $l->t('The files of the app %$1s (%$2s) were not replaced correctly. Make sure it is a version compatible with the server.', [$appInfo['name'], $appInfo['id']]);
+ throw new \OC\HintException('The files of the app ' . $appInfo['name'] . ' (' . $appInfo['id'] . ') were not replaced correctly. Make sure it is a version compatible with the server.', $hint);
}
}