oum update checks
This commit is contained in:
parent
0ff07f55dd
commit
2688d70332
|
@ -1318,7 +1318,7 @@ class Client
|
||||||
// that will be updated in product.
|
// that will be updated in product.
|
||||||
// Do once.
|
// Do once.
|
||||||
$source_size = $this->getDirectorySize($from);
|
$source_size = $this->getDirectorySize($from);
|
||||||
$source_size = 999999999999;
|
|
||||||
// Check available disk space before writing files.
|
// Check available disk space before writing files.
|
||||||
if (disk_free_space($to) < $source_size) {
|
if (disk_free_space($to) < $source_size) {
|
||||||
throw new \Exception('Not enough disk space to write the files');
|
throw new \Exception('Not enough disk space to write the files');
|
||||||
|
|
Loading…
Reference in New Issue