Syntax clean.
This commit is contained in:
parent
b5d263e693
commit
c4553012d1
44 changed files with 88 additions and 87 deletions
|
|
@ -564,13 +564,13 @@ sub process {
|
|||
my $i18n = WebGUI::International->new($session, 'Asset_Template');
|
||||
$session->log->warn('process called on template in trash: '.$self->getId
|
||||
.'. The template was called through this url: '.$session->asset->url);
|
||||
return $session->var->isAdminOn ? $i18n->get('template in trash') : '';
|
||||
return $session->isAdminOn ? $i18n->get('template in trash') : '';
|
||||
}
|
||||
elsif ($self->state =~ /^clipboard/) {
|
||||
my $i18n = WebGUI::International->new($session, 'Asset_Template');
|
||||
$session->log->warn('process called on template in clipboard: '.$self->getId
|
||||
.'. The template was called through this url: '.$session->asset->url);
|
||||
return $session->var->isAdminOn ? $i18n->get('template in clipboard') : '';
|
||||
return $session->isAdminOn ? $i18n->get('template in clipboard') : '';
|
||||
}
|
||||
|
||||
# Return a JSONinfied version of vars if JSON is the only requested content type.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue