diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-11-04 08:59:45 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-11-04 08:59:45 -0800 |
commit | 8ac3849a95bd6a733cce9134bab4bf38c5c0fadd (patch) | |
tree | 5fc42258625fa612348f701f0dd334ee476bdd4d /cron.php | |
parent | 8c4c74b23f268b232e3f591ea564c018597ee82d (diff) | |
parent | 30d7993e0105a6c98cbf61d4253d08acf236aca7 (diff) | |
download | nextcloud-server-8ac3849a95bd6a733cce9134bab4bf38c5c0fadd.tar.gz nextcloud-server-8ac3849a95bd6a733cce9134bab4bf38c5c0fadd.zip |
Merge pull request #238 from fmms/checkstyle04
Checkstyle fixes
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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!"; |