console commands shall not be limited with respect to execution time - fixes #14156
This commit is contained in:
parent
786ff6a5a3
commit
036a8e3c1f
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ use Symfony\Component\Console\Application;
|
|||
try {
|
||||
require_once 'lib/base.php';
|
||||
|
||||
// set to run indefinitely if needed
|
||||
set_time_limit(0);
|
||||
|
||||
// Don't do anything if ownCloud has not been installed yet
|
||||
if (!\OC::$server->getConfig()->getSystemValue('installed', false)) {
|
||||
echo "Console can only be used once ownCloud has been installed" . PHP_EOL;
|
||||
|
|
Loading…
Reference in a new issue