increase upgrade window from last fix
authorMark Wells <mark@freeside.biz>
Thu, 20 Sep 2012 20:05:18 +0000 (13:05 -0700)
committerMark Wells <mark@freeside.biz>
Thu, 20 Sep 2012 20:05:18 +0000 (13:05 -0700)
FS/FS/part_pkg.pm

index c9b2411..9fcbc4a 100644 (file)
@@ -1516,7 +1516,7 @@ sub _upgrade_data { # class method
     );
     if ( $bad_upgrade ) {
       my $where = 'WHERE history_date <= '.$bad_upgrade->_date.
-                  ' AND  history_date >  '.($bad_upgrade->_date - 600);
+                  ' AND  history_date >  '.($bad_upgrade->_date - 3600);
       my @h_part_pkg_option = map { FS::part_pkg_option->new($_->hashref) }
         qsearch({
           'select'    => '*',