When running drush update $module I get an undefined function error for this. I think this is because module_load_include() only runs at certain bootstrap levels, which drush is probably below. This probably needs to be moved back into the .module, or maybe use plain require_once() to include it with the path hardcoded, since the directory is always going to be the same.

CommentFileSizeAuthor
#1 668968_login_security_hook_menu.patch898 bytesilo

Comments

ilo’s picture

Status: Active » Fixed
StatusFileSize
new898 bytes

I have committed this patch to DRUPAL-6--1. Thanks catch for the 'catch'.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • ilo committed fe3a37f on 6.x-1.x, 8.x-1.x
    #668968 by catch, ilo: hook_menu for drush fix: _login_security_menu()...