Created
July 17, 2013 15:05
-
-
Save PunchRockgroin/6021409 to your computer and use it in GitHub Desktop.
Prevent Update for custom modules
This file contains 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
<?php | |
/** | |
* @file | |
* <my_module>.exclude_from_update_list.inc | |
*/ | |
/** | |
* Implements hook_update_projects_alter(). | |
*/ | |
function my_module_update_projects_alter(&$projects) { | |
unset($projects['my_module']); | |
} |
This file contains 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
<?php | |
include_once('my_module.exclude_from_update_list.inc'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment