Removes useless code

This commit is contained in:
erwanlr
2015-09-06 13:32:08 +01:00
parent d31d45ba71
commit c03a44d225
3 changed files with 3 additions and 16 deletions

View File

@@ -2,13 +2,9 @@
class WpTheme < WpItem
module Vulnerable
# @return [ String ] The path to the file containing vulnerabilities
def vulns_file
unless @vulns_file
@vulns_file = THEMES_FILE
end
@vulns_file
@vulns_file ||= THEMES_FILE
end
# @return [ String ]