Removed unnecessary 'return' and '()'

This commit is contained in:
Francesco Marano
2015-06-03 15:43:58 +02:00
parent 9c5196dfec
commit b6bf306042
2 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ def main
if wpscan_options.version
puts "Current version: #{WPSCAN_VERSION}"
date = last_update()
date = last_update
puts "Last db update: #{date.strftime('%Y-%m-%d')}" unless date.nil?
exit(0)
end