Remove unused config parameter for alternative profile page versions.

        Patch by denise. 

diffs (41 lines):

diff -r 5bccd5c09d4f -r 571367be2966 cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm     Tue Jun 22 16:35:10 2010 -0500
+++ b/cgi-bin/Apache/LiveJournal.pm     Tue Jun 22 16:46:37 2010 -0500
@@ -625,9 +625,6 @@ sub trans
 
             my $file = LJ::Hooks::run_hook("profile_bml_file");
             $file ||= $LJ::PROFILE_BML_FILE || "profile.bml";
-            if ($args =~ /\bver=(\w+)\b/) {
-                $file = $LJ::ALT_PROFILE_BML_FILE{$1} if 
$LJ::ALT_PROFILE_BML_FILE{$1};
-            }
             return $bml_handler->("$LJ::HOME/htdocs/$file");
         }
 
diff -r 5bccd5c09d4f -r 571367be2966 cgi-bin/LJ/ConfCheck/General.pm
--- a/cgi-bin/LJ/ConfCheck/General.pm   Tue Jun 22 16:35:10 2010 -0500
+++ b/cgi-bin/LJ/ConfCheck/General.pm   Tue Jun 22 16:46:37 2010 -0500
@@ -746,10 +746,6 @@ add_conf('$PROFILE_BML_FILE',
          des => "The file (relative to htdocs) to use for the profile URL.  
Defaults to profile.bml",
          );
 
-add_conf('%ALT_PROFILE_BML_FILE',
-         des => "Mapping of key (word chars) to file (like \$PROFILE_BML_FILE) 
to use to override the default \$PROFILE_BML_FILE.  Used if the ver=[key] URL 
parameter is used on a /profile URL.",
-         );
-
 
 my %bools = (
              'USE_ACCT_CODES' => "Make joining the site require an 'invite 
code'.  Note that this code might've bitrotted, so perhaps it should be kept 
off.",
diff -r 5bccd5c09d4f -r 571367be2966 doc/raw/build/ljconfig/ljconfig2db.pl
--- a/doc/raw/build/ljconfig/ljconfig2db.pl     Tue Jun 22 16:35:10 2010 -0500
+++ b/doc/raw/build/ljconfig/ljconfig2db.pl     Tue Jun 22 16:46:37 2010 -0500
@@ -244,10 +244,6 @@ my %ljconfig =
                     'desc' => "When set true, the journal creation page will 
display a drop-down list of clusters (from [ljconfig[clusters]]) along ".
                     "with the old 'cluster 0' which used the old &db; schema 
and the user creating an account can choose where they go. ".
                     "In reality, there's no use for this, it is only useful 
when working on the code. <emphasis>Deprecated</emphasis>. Instead, use: 
\$LJ::DEBUG{allow_cluster_select} = 1;.",
-            },
-            'alt_profile_bml_file' => {
-                    'desc' => "Mapping of key (word chars) to file (like 
[ljconfig[profile_bml_file]]) to use to override the default 
\$LJ::PROFILE_BML_FILE.  Used if the ver=[key] &url; parameter is used on a 
/profile &url;.",
-                    'type' => "hash",
             },
             'anti_squatter' => {
                     'desc' => "Set true if your installation is a publicly 
available development server and if you would like ".
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to