removal of dumpSession.
This commit is contained in:
parent
7d1dfed519
commit
4a3121960f
199 changed files with 379 additions and 404 deletions
|
|
@ -45,7 +45,7 @@ is looked up in the i18n table in the WebGUI namespace.
|
|||
=cut
|
||||
|
||||
sub _submenu {
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
my $workarea = shift;
|
||||
my $title = shift;
|
||||
my $i18n = WebGUI::International->new($session);
|
||||
|
|
@ -74,7 +74,7 @@ Text description of how long the subscription lasts.
|
|||
=cut
|
||||
|
||||
sub www_flushCache {
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
return $session->privilege->adminOnly() unless ($session->user->isInGroup(3));
|
||||
my $cache = WebGUI::Cache->new($session,);
|
||||
$cache->flush;
|
||||
|
|
@ -91,7 +91,7 @@ provides an option to clear the cache.
|
|||
=cut
|
||||
|
||||
sub www_manageCache {
|
||||
my $session = shift; use WebGUI; WebGUI::dumpSession($session);
|
||||
my $session = shift;
|
||||
return $session->privilege->adminOnly() unless ($session->user->isInGroup(3));
|
||||
my ($output, $data);
|
||||
my $cache = WebGUI::Cache->new($session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue