mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Ruby: Remove unused class
This commit is contained in:
@@ -17,13 +17,6 @@ module ActionMailbox {
|
||||
result = DataFlow::getConstant("ActionMailbox").getConstant("Base").getADescendentModule()
|
||||
}
|
||||
|
||||
/**
|
||||
* A method in a mailbox which receives incoming mail.
|
||||
*/
|
||||
class Process extends DataFlow::MethodNode {
|
||||
Process() { this = controller().getAnInstanceMethod() and this.getMethodName() = "process" }
|
||||
}
|
||||
|
||||
/**
|
||||
* A call to `mail` on the return value of
|
||||
* `ActionMailbox::Base#inbound_email`, or a direct call to
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
processMethods
|
||||
| action_mailbox.rb:2:3:7:5 | process |
|
||||
| action_mailbox.rb:15:5:17:7 | process |
|
||||
messageInstances
|
||||
| action_mailbox.rb:3:5:3:8 | call to mail |
|
||||
| action_mailbox.rb:4:5:4:8 | call to mail |
|
||||
|
||||
@@ -2,8 +2,6 @@ private import codeql.ruby.frameworks.ActionMailbox
|
||||
private import codeql.ruby.DataFlow
|
||||
private import codeql.ruby.dataflow.RemoteFlowSources
|
||||
|
||||
query predicate processMethods(ActionMailbox::Process p) { any() }
|
||||
|
||||
query predicate messageInstances(ActionMailbox::Mail c) { any() }
|
||||
|
||||
query predicate remoteFlowSources(RemoteFlowSource r) { any() }
|
||||
|
||||
Reference in New Issue
Block a user