diff options
-rw-r--r-- | import.package_mask.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/import.package_mask.php b/import.package_mask.php index efc4ea9..0d8ce59 100644 --- a/import.package_mask.php +++ b/import.package_mask.php @@ -22,10 +22,7 @@ if($debug) $import = true; - if(is_null($dbmtime->mtime)) { - $dbmtime->mtime = $pmask->mtime; - $import = true; - } elseif($pmask->mtime > $dbmtime->mtime) { + if(is_null($dbmtime->mtime) || ($pmask->mtime > $dbmtime->mtime) ) { $dbmtime->mtime = $pmask->mtime; $import = true; } @@ -65,7 +62,4 @@ } - - - ?>
\ No newline at end of file |