From 861f5232d3b6c5bd2cf8bd895f57424b730ce270 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 6 Apr 2016 19:56:38 -0700 Subject: more work on file sync to clones, 60-70% test coverage, mostly working but many changes made during testing which themselves have not yet been tested --- mod/getfile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/getfile.php b/mod/getfile.php index 6eca7ee34..c0916de79 100644 --- a/mod/getfile.php +++ b/mod/getfile.php @@ -46,7 +46,7 @@ function getfile_post(&$a) { $d1 = datetime_convert('UTC','UTC',"now + $slop minutes"); $d2 = datetime_convert('UTC','UTC',"now - $slop minutes"); - if(($time > d1) || ($time < d2)) { + if(($time > $d1) || ($time < $d2)) { logger('time outside allowable range'); killme(); } -- cgit v1.2.3