fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-06-04 05:56 am

[dw-free] Backed out changeset 9bf1fef2ddb5. Wrong bug!

[commit: http://hg.dwscoalition.org/dw-free/rev/9a990fc1cfd2]

Backed out changeset 9bf1fef2ddb5. Wrong bug!

Files modified:
  • bin/upgrading/en.dat
  • cgi-bin/DW/Logic/MenuNav.pm
  • cgi-bin/LJ/User.pm
--------------------------------------------------------------------------------
diff -r 9bf1fef2ddb5 -r 9a990fc1cfd2 bin/upgrading/en.dat
--- a/bin/upgrading/en.dat	Fri Jun 04 13:54:39 2010 +0800
+++ b/bin/upgrading/en.dat	Fri Jun 04 13:58:49 2010 +0800
@@ -2177,8 +2177,6 @@ menunav.organize.selectstyle=Select Styl
 
 menunav.read=Read
 
-menunav.read.archive=Archive
-
 menunav.read.inbox.nounread=Inbox
 
 menunav.read.inbox.unread2=Inbox [[num]]
diff -r 9bf1fef2ddb5 -r 9a990fc1cfd2 cgi-bin/DW/Logic/MenuNav.pm
--- a/cgi-bin/DW/Logic/MenuNav.pm	Fri Jun 04 13:54:39 2010 +0800
+++ b/cgi-bin/DW/Logic/MenuNav.pm	Fri Jun 04 13:58:49 2010 +0800
@@ -178,11 +178,6 @@ sub get_menu_navigation {
                     display => $loggedin_hasnetwork,
                 },
                 {
-                    url => $u ? $u->archive_current_month : "",
-                    text => "menunav.read.archive",
-                    display => $loggedin_hasjournal,
-                },
-                {
                     url => "$LJ::SITEROOT/tools/recent_comments",
                     text => "menunav.read.recentcomments",
                     display => $loggedin,
diff -r 9bf1fef2ddb5 -r 9a990fc1cfd2 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm	Fri Jun 04 13:54:39 2010 +0800
+++ b/cgi-bin/LJ/User.pm	Fri Jun 04 13:58:49 2010 +0800
@@ -1781,15 +1781,6 @@ sub allow_search_by {
 }
 
 
-# returns a link to the current year and month in the user's archive
-sub archive_current_month {
-    my ( $u ) = @_;
-    return '' if $u->is_identity;  # no archive to read
-    my $t = $u->time_now;
-    return sprintf( "%s/%02d/%02d/", $u->journal_base, $t->year, $t->mon );
-}
-
-
 sub caps {
     my $u = shift;
     return $u->{caps};
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org