Merged from 2.4

N°1488 - restore failed on production-modules [from revision 5827]

SVN:trunk[5828]
This commit is contained in:
Eric Espié
2018-06-05 14:14:37 +00:00
parent 9fe3261424
commit 2706ebf638
3 changed files with 84 additions and 38 deletions

View File

@@ -765,6 +765,17 @@ class TarGzArchive implements BackupArchive
return false;
}
/**
* @param string $p_path
* @param null $aEntries
*
* @return bool
*/
public function extractTo($p_path = '', $aEntries = null)
{
return $this->oArchive->extract($p_path);
}
/**
* @param string $sDestinationDir
* @param string $sArchiveFile