HM\BackUpWordPress\Path::merge_existing_paths PHP Method

merge_existing_paths() public method

If we have more than one path then move any existing backups to the current path and remove them
    public function merge_existing_paths()
    {
        $paths = $this->get_existing_paths();
        if (!empty($paths) && $this->get_custom_path() || count($paths) > 1) {
            foreach ($paths as $old_path) {
                $this->move_old_backups($old_path);
            }
        }
    }