Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanieL authored and DanieL committed Nov 2, 2022
1 parent 1c68a00 commit db0ee55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install/importSiteFromAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ function download($url, $filename, $path, $forceDownload = false) {
$video->setStatus(Video::$statusTranfering);
_error_log("importVideo status: transfering ($size) " . humanFileSize($size));
}else{
if ($size > 1000000) {
$video->setStatus(Video::$statusActive);
}
_error_log("importVideo status: else ($size) " . humanFileSize($size));
}
}
Expand Down

0 comments on commit db0ee55

Please sign in to comment.