summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-03-22 18:37:51 +0100
committerAndrew Dolgov <[email protected]>2008-03-22 18:37:51 +0100
commitc1fb4a5e205689d1b2dca5a7c52dd9643502ad40 (patch)
tree6dca0018fa45464c09db9cb6d2ca4a30ea50a07e
parent621ffb007a5c72259c82745a99285ed47c1096a6 (diff)
file_is_locked: return true when flock() is undefined
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 958f137df..de5464837 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) {