From: Andrew Dolgov Date: Sat, 22 Mar 2008 17:37:51 +0000 (+0100) Subject: file_is_locked: return true when flock() is undefined X-Git-Tag: 1.2.21~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c1fb4a5e205689d1b2dca5a7c52dd9643502ad40;p=tt-rss.git file_is_locked: return true when flock() is undefined --- diff --git a/functions.php b/functions.php index 958f137d..de546483 100644 --- a/functions.php +++ b/functions.php @@ -1957,7 +1957,7 @@ return true; } } - return false; + return true; // consider the file always locked and skip the test } function make_lockfile($filename) {