summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-10 22:59:23 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-11 09:27:12 +0100
commit81fa9550a0e136421c1dacad3d26fdb19e9c63a3 (patch)
tree1f84a39c299fda116b01b6bd274fa1044485fc23
parent7181840665090c668bc9107a8e5f149ab10b3b80 (diff)
downloadnextcloud-server-81fa9550a0e136421c1dacad3d26fdb19e9c63a3.tar.gz
nextcloud-server-81fa9550a0e136421c1dacad3d26fdb19e9c63a3.zip
No need to restart the web server in cli mode
-rw-r--r--lib/private/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 62bbf5cf2aa..49c422c287f 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -702,7 +702,7 @@ class OC_Util {
);
}
- if ($webServerRestart) {
+ if (!\OC::$CLI && $webServerRestart) {
$errors[] = array(
'error' => $l->t('PHP modules have been installed, but they are still listed as missing?'),
'hint' => $l->t('Please ask your server administrator to restart the web server.')