Skip to content

Commit

Permalink
Default backup retention chnaed from 3 to 7 days
Browse files Browse the repository at this point in the history
  • Loading branch information
wetory committed Apr 24, 2019
1 parent cb98538 commit fb3c93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ function backup_db($host, $user, $pass, $db, $tables = "*") {
* @param string $ftp_folder Path to folder on FTP server
* @param File $source Source file
* @param File $destination Destination file
* @param number $backup_retention Retention policy for stored backups - by default 3 days
* @param number $backup_retention Retention policy for stored backups - by default 7 days
*/
function uploadToFtp($ftp_uri, $source, $destination, $backup_retention = 3) {
function uploadToFtp($ftp_uri, $source, $destination, $backup_retention = 7) {

// Split FTP URI into:
// $match[0] = ftp://username:password@sld.domain.tld/path1/path2/
Expand Down

0 comments on commit fb3c93a

Please # to comment.