Ruby: Remove unused class

This commit is contained in:
Harry Maclean
2022-11-30 11:50:35 +13:00
parent b66ea6ed72
commit aed4325ee3
3 changed files with 0 additions and 12 deletions

View File

@@ -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

View File

@@ -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 |

View File

@@ -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() }