Skip to content

Commit

Permalink
Revert "AdminToggle Macro is blank when in admin mode"
Browse files Browse the repository at this point in the history
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 1e22418.
  • Loading branch information
scottwalters committed Sep 27, 2013
1 parent 30e8a28 commit fd2d828
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/WebGUI/Macro/AdminToggle.pm
Expand Up @@ -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) = @_;
Expand Down

0 comments on commit fd2d828

Please sign in to comment.