X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FXfer.pm;h=7bc077c5bff7548849d2ba02434356a9599627d3;hp=59c339d2e2f5077d23d47d52676c8a0ec1e437ac;hb=380a4961e996464a8c19e39a5339cb3a3bff0580;hpb=e560b163a4a8b37d45204da70b60b1ba07199afe diff --git a/lib/BackupPC/Xfer.pm b/lib/BackupPC/Xfer.pm index 59c339d..7bc077c 100644 --- a/lib/BackupPC/Xfer.pm +++ b/lib/BackupPC/Xfer.pm @@ -12,7 +12,7 @@ # Paul Mantz # # COPYRIGHT -# Copyright (C) 2008 Zmanda +# Copyright (C) 2001-2009 Craig Barratt # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ # #======================================================================== # -# Version 3.2.0beta0, released 5 April 2009 +# Version 3.2.0, released 31 Jul 2010. # # See http://backuppc.sourceforge.net. # @@ -176,7 +176,7 @@ sub restoreEnabled return; } elsif ( $conf->{XferMethod} eq "ftp" ) { - return !!( $conf->{FtpRestoreEnabled} ); + return; } elsif ( $conf->{XferMethod} eq "rsync" || $conf->{XferMethod} eq "rsyncd"