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:
Scott Walters 2013-09-27 11:58:02 -05:00
parent 30e8a28012
commit fd2d82835a

View file

@ -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) = @_;