]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/memory.cgi
rrd graphs: Remove unused individual graph output
[ipfire-2.x.git] / html / cgi-bin / memory.cgi
index 441b1d4e79cc0be6c2be871f8cafd00cd9fb96d7..037d5800b5397ba6f430844c9272700f9569d17a 100644 (file)
@@ -35,19 +35,6 @@ my %mainsettings = ();
 &General::readhash("${General::swroot}/main/settings", \%mainsettings);
 &General::readhash("/srv/web/ipfire/html/themes/ipfire/include/colors.txt", \%color);
 
-my @querry = split(/\?/,$ENV{'QUERY_STRING'});
-$querry[0] = '' unless defined $querry[0];
-$querry[1] = 'hour' unless defined $querry[1];
-
-if ( $querry[0] =~ "memory"){
-       print "Content-type: image/png\n\n";
-       binmode(STDOUT);
-       &Graphs::updatememorygraph($querry[1]);
-}elsif ( $querry[0] =~ "swap"){
-       print "Content-type: image/png\n\n";
-       binmode(STDOUT);
-       &Graphs::updateswapgraph($querry[1]);
-}else{
        &Header::showhttpheaders();
        &Header::openpage($Lang::tr{'memory information'}, 1, '');
        &Header::openbigbox('100%', 'left');
@@ -139,7 +126,6 @@ END
 
        &Header::closebigbox();
        &Header::closepage();
-}
 
 sub percentbar{
        my $percent = $_[0];