Skip to content

Commit

Permalink
delete now dead Ruby method
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-krogh committed Jan 27, 2025
1 parent fcd0f0e commit dead79a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ruby/ql/lib/codeql/ruby/frameworks/ActiveRecord.qll
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ class ActiveRecordModelClass extends ClassDeclaration {
cls = activeRecordBaseClass().getADescendentModule() and this = cls.getADeclaration()
}

// Gets the class declaration for this class and all of its super classes
private ModuleBase getAllClassDeclarations() { result = cls.getAnAncestor().getADeclaration() }

/** Gets the class as a `DataFlow::ClassNode`. */
DataFlow::ClassNode getClassNode() { result = cls }
}
Expand Down

0 comments on commit dead79a

Please sign in to comment.