removing a bunch of grap we no longer need

This commit is contained in:
JT Smith 2004-12-30 03:17:12 +00:00
parent 4f8489300f
commit 9e31680f41
28 changed files with 52 additions and 8280 deletions

View file

@ -12,13 +12,12 @@ package WebGUI::Macro::CanEditText;
use strict;
use WebGUI::Macro;
use WebGUI::Page;
use WebGUI::Session;
#-------------------------------------------------------------------
sub process {
my @param = WebGUI::Macro::getParams($_[0]);
if (WebGUI::Page::canEdit()) {
if (exists $session{asset} && $session{asset}->canEdit) {
return $param[0];
} else {
return "";