aboutsummaryrefslogtreecommitdiffstats
path: root/mod/getfile.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-06 19:56:38 -0700
committerredmatrix <git@macgirvin.com>2016-04-06 19:56:38 -0700
commit861f5232d3b6c5bd2cf8bd895f57424b730ce270 (patch)
tree8094192667b1863f78d2baf15e57a209cee4996b /mod/getfile.php
parent9831ad515d7963bcfe1f6298a5176fa29bc28f14 (diff)
downloadvolse-hubzilla-861f5232d3b6c5bd2cf8bd895f57424b730ce270.tar.gz
volse-hubzilla-861f5232d3b6c5bd2cf8bd895f57424b730ce270.tar.bz2
volse-hubzilla-861f5232d3b6c5bd2cf8bd895f57424b730ce270.zip
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
Diffstat (limited to 'mod/getfile.php')
-rw-r--r--mod/getfile.php2
1 files changed, 1 insertions, 1 deletions
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();
}