Update changelog and gotchas, and hopefully final update to r3226 bugfixes in

7.2.0 upgrade script.
This commit is contained in:
Drake 2006-11-10 18:29:37 +00:00
parent 331767daee
commit e982302c2a
3 changed files with 8 additions and 4 deletions

View file

@ -205,10 +205,10 @@ EOT
# Blah, some duplication with RSSCapable.pm.
my ($revisionDate) = $session->db->quickArray("SELECT MAX(revisionDate) FROM Collaboration WHERE assetId = ?", [$csId]);
my $cs = WebGUI::Asset->newByDynamicClass($session, $csId, $revisionDate);
if ($cs->isPrototype or not($cs->get('status') eq 'approved' or
$cs->get('status') eq 'archived')) {
if ($cs->get('isPrototype') or not($cs->get('status') eq 'approved' or
$cs->get('status') eq 'archived')) {
$cs->update({ rssCapableRssEnabled => 1, rssCapableRssFromParentId => undef });
if (!$cs->isPrototype) {
if (!$cs->get('isPrototype')) {
# Update the most recent published one too.
my $csp = WebGUI::Asset->newByDynamicClass($session, $csId);
if ($csp) {