From 32421bcb8f8c28ca0f263d2c2898103bc2747751 Mon Sep 17 00:00:00 2001 From: Banana Date: Wed, 15 Feb 2012 16:06:29 +0100 Subject: [PATCH] a better name --- lib/Insipid/Main.pm | 8 ++++---- lib/Insipid/{Manage.pm => Stats.pm} | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) rename lib/Insipid/{Manage.pm => Stats.pm} (94%) diff --git a/lib/Insipid/Main.pm b/lib/Insipid/Main.pm index 7724ef2..2a6189d 100755 --- a/lib/Insipid/Main.pm +++ b/lib/Insipid/Main.pm @@ -39,7 +39,7 @@ use Insipid::Sessions; use Insipid::Snapshots; use Insipid::Tags; use Insipid::Util; -use Insipid::Manage; +use Insipid::Stats; use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser); @@ -472,8 +472,8 @@ BLET } # management - if (param('op') eq 'manage') { - show_management(); + if (param('op') eq 'stats') { + show_stats(); print ''; exit; } @@ -804,7 +804,7 @@ sub show_toolbar { if (logged_in() eq 1) { print "options | "; - print "manage | "; + print "stats | "; print "tags | "; print "import | "; print "export | "; diff --git a/lib/Insipid/Manage.pm b/lib/Insipid/Stats.pm similarity index 94% rename from lib/Insipid/Manage.pm rename to lib/Insipid/Stats.pm index a7a5d2d..5170cb1 100644 --- a/lib/Insipid/Manage.pm +++ b/lib/Insipid/Stats.pm @@ -18,7 +18,7 @@ # USA # -package Insipid::Manage; +package Insipid::Stats; use strict; use warnings; @@ -37,10 +37,10 @@ use Data::Dumper; @ISA = qw(Exporter); @EXPORT = qw( -show_management +show_stats ); -sub show_management { +sub show_stats { } -- 2.39.5