diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /rt/etc/upgrade/3.8.0 | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'rt/etc/upgrade/3.8.0')
-rw-r--r-- | rt/etc/upgrade/3.8.0/content | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/rt/etc/upgrade/3.8.0/content b/rt/etc/upgrade/3.8.0/content deleted file mode 100644 index f4e389b90..000000000 --- a/rt/etc/upgrade/3.8.0/content +++ /dev/null @@ -1,22 +0,0 @@ -@Final = ( - # by incident we've changed 'My Bookmarks' to 'Bookmarked Tickets' when - # 3.7.82 upgrade script still was creating 'My Bookmarks', try to fix it - sub { - $RT::Logger->debug("Going to rename 'My Bookmarks' to 'Bookmarked Tickets'"); - my $sys = RT::System->new($RT::SystemUser); - - my $attrs = RT::Attributes->new( $RT::SystemUser ); - $attrs->LimitToObject( $sys ); - my ($attr) = $attrs->Named( 'Search - My Bookmarks' ); - unless ($attr) { - $RT::Logger->debug("You have no global search 'My Bookmarks'. Skipped."); - return 1; - } - my ($status, $msg) = $attr->SetName( 'Search - Bookmarked Tickets' ); - $RT::Logger->error($msg) and return undef unless $status; - - $RT::Logger->debug("Renamed."); - return 1; - }, -); - |