Typos
git-svn-id: file:///home/svn/framework3/trunk@10528 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
8a567dd3a8
commit
ddcb07bf97
|
@ -3184,7 +3184,7 @@ class DBManager
|
||||||
|
|
||||||
ret = {}
|
ret = {}
|
||||||
task = queue(Proc.new {
|
task = queue(Proc.new {
|
||||||
vuln = WebVuln.find_or_initialize_by_web_site_id_and_path_and_method_and_pname_and_name_and_query(site[:id], path, meth, pname, name, query)
|
vuln = WebVuln.find_or_initialize_by_web_site_id_and_path_and_method_and_pname_and_name_and_query(site[:id], path, meth, pname, name, quer)
|
||||||
msfe_import_timestamps(opts, vuln)
|
msfe_import_timestamps(opts, vuln)
|
||||||
vuln.save!
|
vuln.save!
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ class Workspace < ActiveRecord::Base
|
||||||
def web_sites
|
def web_sites
|
||||||
hosts.map{|host| host.web_sites}.flatten
|
hosts.map{|host| host.web_sites}.flatten
|
||||||
end
|
end
|
||||||
|
|
||||||
def web_pages
|
def web_pages
|
||||||
web_sites.map{|w| w.web_pages}.flatten
|
web_sites.map{|w| w.web_pages}.flatten
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue