Merge pull request #14243 from owncloud/console-execution-time-master
console commands shall not be limited with respect to execution time
This commit is contained in:
commit
f7bd543a85
|
@ -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 New Issue