Created
September 8, 2016 08:48
-
-
Save batigolix/b50850d5900f49944161ac1e459775c2 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
/** | |
* Deletes obsolete contexts. | |
*/ | |
function mymodule_update_7132() { | |
$disable = array( | |
'single_telecom_market_news', | |
'oi24u_community', | |
'dae_side_blocks', | |
); | |
foreach ($disable as $item) { | |
$context = context_load($item); | |
context_delete($context); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment