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

index 70b2d4d..6e7f8f8 100644 (file)
@@ -1607,7 +1607,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'    => '*',