Cleaning up error messages referring to friend groups.

        Patch by chemicallace. 

diffs (33 lines):

diff -r e02a3a02db48 -r ce5a9a5ce002 cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm     Thu Aug 06 10:35:03 2009 -0500
+++ b/cgi-bin/Apache/LiveJournal.pm     Thu Aug 06 10:52:05 2009 -0500
@@ -657,7 +657,7 @@ sub trans
 
         } elsif ($uuri =~ m!
                  /([a-z\_]+)?           # optional /<viewname>
-                 (.*)                   # path extra: /FriendGroup, for example
+                 (.*)                   # path extra: /ReadingFilter, for 
example
                  !x && ($1 eq "" || defined $LJ::viewinfo{$1}))
         {
             ($mode, $pe) = ($1, $2);
@@ -1402,16 +1402,16 @@ sub journal_content
     {
         # give a real 404 to the journal owner
         if ($remote && $remote->{'user'} eq $user) {
-            $status = "404 Friend group does not exist";
+            $status = "404 Reading filter does not exist";
             $html = "<h1>Not Found</h1>" .
-                    "<p>The friend group you are trying to access does not 
exist.</p>";
+                    "<p>The reading filter you are trying to access does not 
exist.</p>";
 
         # otherwise be vague with a 403
         } else {
             # send back a 403 and don't reveal if the group existed or not
-            $status = "403 Friend group does not exist, or is not public";
+            $status = "403 Reading filter does not exist, or is not public";
             $html = "<h1>Denied</h1>" .
-                    "<p>Sorry, the friend group you are trying to access does 
not exist " .
+                    "<p>Sorry, the reading filter you are trying to access 
does not exist " .
                     "or is not public.</p>\n";
 
             $html .= "<p>You're not logged in.  If you're the owner of this 
journal, " .
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to