No need to restart the web server in cli mode

This commit is contained in:
Thomas Müller 2015-03-10 22:59:23 +01:00
parent 7181840665
commit 81fa9550a0
1 changed files with 1 additions and 1 deletions

View File

@ -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.')