Revert "AdminToggle Macro is blank when in admin mode"
apparently, $session->isAdminOn is meaningless in wG8. this is a poor situation that it exists but is busted. have to do this same thing another way.
This reverts commit 1e22418757.
This commit is contained in:
parent
30e8a28012
commit
fd2d82835a
1 changed files with 0 additions and 1 deletions
|
|
@ -41,7 +41,6 @@ The URL of a template from the Macro/AdminToggle namespace to use for formatting
|
|||
#-------------------------------------------------------------------
|
||||
sub process {
|
||||
my $session = shift;
|
||||
return "" if $session->isAdminOn;
|
||||
return ""
|
||||
unless $session->user->canUseAdminMode;
|
||||
my ($turnOn, $templateName) = @_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue