Changeset 1701
- Timestamp:
- 04/02/08 01:52:43 (8 months ago)
- Files:
-
- branches/release-32/lib/MT/CMS/Blog.pm (modified) (2 diffs)
- branches/release-32/lib/MT/WeblogPublisher.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-32/lib/MT/CMS/Blog.pm
r1664 r1701 631 631 my $count = 0; 632 632 my $cb = sub { 633 return 0 if time - $start > 20; # 10 seconds634 633 $count++; 635 return 1;634 return time - $start > 20 ? 0 : 1; 636 635 }; 637 636 if ( $offset < $total ) { … … 672 671 my $count = 0; 673 672 my $cb = sub { 674 return 0 if time - $start > 20; # 10 seconds675 673 $count++; 676 return 1;674 return time - $start > 20 ? 0 : 1; 677 675 }; 678 676 $app->rebuild( branches/release-32/lib/MT/WeblogPublisher.pm
r1618 r1701 139 139 @at = ($set_at); 140 140 my $archiver = $mt->archiver($set_at); 141 $entry_class = $archiver-> {entry_class}|| "entry";141 $entry_class = $archiver->entry_class || "entry"; 142 142 } 143 143 else {
