summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 10:46:32 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 10:46:32 +0100
commitf8d1d7787e1112842db81a629dfd84b586fbebda (patch)
tree65ca5da914f492411485ccb61a707b00686ba8f6 /cron.php
parent17d466b03b91ccc058fe1a88340df36c22a580c2 (diff)
downloadnextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.tar.gz
nextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.zip
Checkstyle fixes for SpaceBeforeOpenBrace
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron.php b/cron.php
index fb76c2de428..cd2e155a494 100644
--- a/cron.php
+++ b/cron.php
@@ -30,7 +30,7 @@ class my_temporary_cron_class {
// We use this function to handle (unexpected) shutdowns
function handleUnexpectedShutdown() {
// Delete lockfile
- if( !my_temporary_cron_class::$keeplock && file_exists( my_temporary_cron_class::$lockfile )){
+ if( !my_temporary_cron_class::$keeplock && file_exists( my_temporary_cron_class::$lockfile )) {
unlink( my_temporary_cron_class::$lockfile );
}
@@ -80,7 +80,7 @@ if( OC::$CLI ) {
}
// check if backgroundjobs is still running
- if( file_exists( my_temporary_cron_class::$lockfile )){
+ if( file_exists( my_temporary_cron_class::$lockfile )) {
my_temporary_cron_class::$keeplock = true;
my_temporary_cron_class::$sent = true;
echo "Another instance of cron.php is still running!";