1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 03:34:33 +02:00

A couple of minor adjustments

This commit is contained in:
Ryan Cramer
2019-05-17 13:26:38 -04:00
parent bac9736e49
commit f1d5f12835
2 changed files with 8 additions and 5 deletions

View File

@@ -1007,6 +1007,10 @@ class WireDatabaseBackup {
protected function restorePDO($filename, array $options = array()) {
$fp = fopen($filename, "rb");
if($fp === false) {
$this->error("Unable to open: $filename");
return false;
}
$numInserts = 0;
$numTables = 0;
$numQueries = 0;