From 81fa9550a0e136421c1dacad3d26fdb19e9c63a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Tue, 10 Mar 2015 22:59:23 +0100 Subject: [PATCH] No need to restart the web server in cli mode --- lib/private/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/util.php b/lib/private/util.php index 62bbf5cf2a..49c422c287 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.')