Skip to content

Commit ae051af

Browse files
committed
remove redundant code
1 parent ea17de6 commit ae051af

File tree

1 file changed

+0
-4
lines changed
  • javascript/ql/src/semmle/javascript/frameworks

1 file changed

+0
-4
lines changed

javascript/ql/src/semmle/javascript/frameworks/jQuery.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -590,10 +590,6 @@ module JQuery {
590590
read.getBase().getALocalSource() = [dollar(), objectRef()] and
591591
read.mayHavePropertyName(name)
592592
)
593-
or
594-
// Handle contributed JQuery objects that aren't source nodes (usually parameter uses)
595-
getReceiver() = legacyObjectSource() and
596-
this.(DataFlow::MethodCallNode).getMethodName() = name
597593
}
598594

599595
/**

0 commit comments

Comments
 (0)