
Update commons modules to release 7.12, and move the codebase under modules/commons instead of constant fetching from remote repository. The commons.make file removed so it is not required to rebuild groups distribution. Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
20 lines
424 B
Plaintext
20 lines
424 B
Plaintext
<?php
|
|
|
|
/**
|
|
* Change content moderation views permission.
|
|
*/
|
|
function commons_content_moderation_update_7001() {
|
|
$revert = array(
|
|
'commons_content_moderation' => array('views_view'),
|
|
);
|
|
features_revert($revert);
|
|
return array();
|
|
}
|
|
|
|
/**
|
|
* Clear views cache to have content moderation view use new permission.
|
|
*/
|
|
function commons_content_moderation_update_7002() {
|
|
cache_clear_all('*', 'cache_views', TRUE);
|
|
}
|