operations now dynamically loaded
This commit is contained in:
parent
ea9a3d5bfc
commit
c01f16a27f
28 changed files with 244 additions and 180 deletions
|
|
@ -10,15 +10,11 @@ package WebGUI::Operation::Admin;
|
|||
# http://www.plainblack.com info@plainblack.com
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
use Exporter;
|
||||
use strict;
|
||||
use WebGUI::Grouping;
|
||||
use WebGUI::Session;
|
||||
use WebGUI::SQL;
|
||||
|
||||
our @ISA = qw(Exporter);
|
||||
our @EXPORT = qw(&www_switchOffAdmin &www_switchOnAdmin);
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_switchOffAdmin {
|
||||
return "" unless (WebGUI::Grouping::isInGroup(12));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue