Last active
August 29, 2015 14:01
-
-
Save dsnopek/610c43c3210701af56e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_module_implemnts_alter(). | |
*/ | |
function MODULE_module_implements_alter(&$implementations, $hook) { | |
if ($hook == 'user_login' && isset($implementations['oa_core'])) { | |
// The oa_core_user_login() function does some INSANE things with redirecting | |
// the user to their home dashboard and it messes up our registration workflow. | |
unset($implementations['oa_core']); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment