merged WebGUI::Groupings with WebGUI::Group and WebGUI::User
changed WebGUI::Group api to work with the new session api
This commit is contained in:
parent
8071a041fa
commit
c74c1bdcbc
55 changed files with 866 additions and 994 deletions
|
|
@ -47,7 +47,7 @@ A template from the Macro/AdminToggle namespace to use for formatting the link.
|
|||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
my $session = shift;
|
||||
if (WebGUI::Grouping::isInGroup(12)) {
|
||||
if ($session->user->isInGroup(12)) {
|
||||
my %var;
|
||||
my ($turnOn,$turnOff,$templateName) = @_;
|
||||
$turnOn ||= WebGUI::International::get(516,'Macro_AdminToggle');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue