Method: WPScan::DB::Updater#outdated?

Defined in:
lib/wpscan/db/updater.rb

#outdated?Boolean

Returns:

  • (Boolean)


59
60
61
62
63
# File 'lib/wpscan/db/updater.rb', line 59

def outdated?
  date = last_update

  date.nil? || date < 5.days.ago
end