[dw-free] We don't use this documentation system. Kill it.
[commit: http://hg.dwscoalition.org/dw-free/rev/dec35c4dfb87]
We don't use this documentation system. Kill it.
Patch by
mark.
Files modified:
We don't use this documentation system. Kill it.
Patch by
Files modified:
- bin/checkconfig.pl
--------------------------------------------------------------------------------
diff -r 7f4d9410dd22 -r dec35c4dfb87 bin/checkconfig.pl
--- a/bin/checkconfig.pl Sun Jan 22 23:38:38 2012 +0000
+++ b/bin/checkconfig.pl Sun Jan 22 23:44:44 2012 +0000
@@ -27,7 +27,6 @@
"modules",
"env",
"database",
- "ljconfig",
);
foreach my $check (@checks) { $dochecks{$check} = 1; }
@@ -50,7 +49,6 @@
);
if ($debs_only) {
- $dochecks{ljconfig} = 0;
$dochecks{database} = 0;
$dochecks{timezone} = 0;
}
@@ -60,11 +58,6 @@
%dochecks = ( $only_check => 1)
if $only_check;
-# dependencies
-if ($dochecks{ljconfig}) {
- $dochecks{env} = 1;
-}
-
$dochecks{$no_check} = 0
if $no_check;
@@ -362,22 +355,6 @@
}
}
-sub check_ljconfig {
- # if we're a developer running this, make sure we didn't add any
- # new configuration directives without first documenting them:
- $ENV{READ_LJ_SOURCE} = 1 if $LJ::IS_DEV_SERVER;
-
- # check for beta features cap
- unless ( LJ::Capabilities::class_bit( LJ::BetaFeatures->cap_name ) ) {
- print STDERR "Warning: BetaFeatures module cannot be used unless '" . LJ::BetaFeatures->cap_name . "' cap is configured.";
- }
-
- require LJ::ConfCheck;
- my @errs = LJ::ConfCheck::config_errors();
- local $" = ",\n\t";
- $err->("Config errors: @errs") if @errs;
-}
-
foreach my $check (@checks) {
next unless $dochecks{$check};
my $cn = "check_".$check;
--------------------------------------------------------------------------------
