removing a bunch of grap we no longer need
This commit is contained in:
parent
4f8489300f
commit
9e31680f41
28 changed files with 52 additions and 8280 deletions
|
|
@ -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 "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue