summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-11-05 12:06:59 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-11-05 12:06:59 +0100
commit1147dc977422e827a201fa081abd07721231d072 (patch)
tree203d47297c49545a67bbdd98cbe137b255a5d6d8 /cron.php
parent88b91a7304f2de998f71a674f4f62e85f5b83e54 (diff)
parent135680e50bf760d55a1bcaaaa02f959bde396c52 (diff)
downloadnextcloud-server-1147dc977422e827a201fa081abd07721231d072.tar.gz
nextcloud-server-1147dc977422e827a201fa081abd07721231d072.zip
Merge branch 'master' of github.com:owncloud/core into vcategories_db
Conflicts: lib/vcategories.php
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!";