AR convert module loader
This commit is contained in:
@@ -48,7 +48,7 @@ module BeEF
|
||||
# Get all modules currently stored in the database
|
||||
# @return [Array] DataMapper array of all BeEF::Core::Models::CommandModule's in the database
|
||||
def self.get_stored_in_db
|
||||
BeEF::Core::Models::CommandModule.all(:order => [:id.asc])
|
||||
BeEF::Core::Models::CommandModule.all.order(:id)
|
||||
end
|
||||
|
||||
# Loads all enabled modules
|
||||
|
||||
Reference in New Issue
Block a user