Skip to content
Snippets Groups Projects
Commit 036a8e3c authored by Thomas Müller's avatar Thomas Müller
Browse files

console commands shall not be limited with respect to execution time - fixes #14156

parent 786ff6a5
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,9 @@ use Symfony\Component\Console\Application; ...@@ -11,6 +11,9 @@ use Symfony\Component\Console\Application;
try { try {
require_once 'lib/base.php'; 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 // Don't do anything if ownCloud has not been installed yet
if (!\OC::$server->getConfig()->getSystemValue('installed', false)) { if (!\OC::$server->getConfig()->getSystemValue('installed', false)) {
echo "Console can only be used once ownCloud has been installed" . PHP_EOL; echo "Console can only be used once ownCloud has been installed" . PHP_EOL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment