Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
best-practical
rt
Commits
f9744abf
Commit
f9744abf
authored
Jun 06, 2014
by
Alex Vandiver
Browse files
Remove a needless debug line
It causes warnings when an accessor is called on an unloaded Scrip
parent
254e6155
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/RT/Scrip.pm
View file @
f9744abf
...
...
@@ -737,10 +737,7 @@ sub _Set {
sub
_Value
{
my
$self
=
shift
;
unless
(
$self
->
CurrentUserHasRight
('
ShowScrips
')
)
{
$
RT::
Logger
->
debug
(
"
CurrentUser can't see scrip #
"
.
$self
->
__Value
('
id
')
);
return
(
undef
);
}
return
unless
$self
->
CurrentUserHasRight
('
ShowScrips
');
return
$self
->
__Value
(
@
_
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment