Explorar el Código

Fix code style

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v14.0.0beta1
Joas Schilling hace 7 años
padre
commit
7860c81523
No account linked to committer's email address
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      cron.php

+ 2
- 2
cron.php Ver fichero

@@ -135,7 +135,7 @@ try {

} else {
// We call cron.php from some website
if ($appMode == 'cron') {
if ($appMode === 'cron') {
// Cron is cron :-P
OC_JSON::error(array('data' => array('message' => 'Backgroundjobs are using system cron!')));
} else {
@@ -151,7 +151,7 @@ try {
}

// Log the successful cron execution
\OC::$server->getConfig()->setAppValue('core', 'lastcron', time());
$config->setAppValue('core', 'lastcron', time());
exit();

} catch (Exception $ex) {

Cargando…
Cancelar
Guardar