Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrelopez committed Apr 10, 2018
2 parents 9d5fbea + d224782 commit 70f1d2a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Enupal Backup Changelog

## 1.0.11 - 2018.04.10
### Improved
- Improved general performance

## 1.0.10 - 2018.04.09
### Improved
- Improved Amazon S3 upload files
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enupal/backup",
"description": "Fully integrated Backup solution for Craft CMS",
"type": "craft-plugin",
"version": "1.0.10",
"version": "1.0.11",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/BackupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function actionRun()
* @throws \Throwable
* @throws \yii\db\Exception
*/
public function actionViewBackup(int $backupId = null)
public function actionViewBackup(int $backupId)
{
// Get the Backup
$backup = Backup::$app->backups->getBackupById($backupId);
Expand Down
2 changes: 1 addition & 1 deletion src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Settings extends Model
public $enableLocalVolumes = false;

/**
* @var string
* @var string|array
*/
public $volumes;

Expand Down
2 changes: 1 addition & 1 deletion src/services/Backups.php
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ private function getConfigJson(BackupElement $backup)
$backup->logFileName = $this->getEncryptFileName($encrypt, $backup->logFileName);

if (!empty($encrypt)) {
$backup->isEncrypted = 1;
$backup->isEncrypted = true;
}

if (!$this->saveBackup($backup)) {
Expand Down

0 comments on commit 70f1d2a

Please sign in to comment.