Changeset 1967
- Timestamp:
- 04/18/08 01:06:22 (22 months ago)
- Files:
-
- 1 modified
-
branches/release-35/lib/MT/CMS/Blog.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-35/lib/MT/CMS/Blog.pm
r1957 r1967 1926 1926 } ); 1927 1927 for my $tmpl (@templates) { 1928 my $bt = $tmpl->build_type || 0; 1929 next if $bt == MT::PublishOption::DISABLED(); 1930 next if $bt == MT::PublishOption::MANUALLY(); 1931 next if $bt == MT::PublishOption::SCHEDULED(); 1932 1928 1933 $tmpl->build_type( $tmpl->type ne 'index' ? MT::PublishOption::DYNAMIC() : MT::PublishOption::ONDEMAND() ); 1929 1934 $tmpl->save(); … … 1941 1946 ); 1942 1947 for my $tmpl (@templates) { 1948 my $bt = $tmpl->build_type || 0; 1949 next if $bt == MT::PublishOption::DISABLED(); 1950 next if $bt == MT::PublishOption::MANUALLY(); 1951 next if $bt == MT::PublishOption::SCHEDULED(); 1952 1943 1953 $tmpl->build_type( MT::PublishOption::DYNAMIC() ); 1944 1954 $tmpl->save();
