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:
Morris Jobke 2015-02-16 14:26:14 +01:00
commit f7bd543a85
1 changed files with 3 additions and 0 deletions

View File

@ -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;