diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-09 09:51:35 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-09 09:51:35 +0000 |
commit | 33f455d2df47ef80dd5b3c736762cecd23b0ba63 (patch) | |
tree | bb98ef555f3b1844b2043668c8539cfe99b71a8c /modules/blogapi/blogapi.install | |
parent | 7de29914a9cbb6d82e4d5798f46565322e41b021 (diff) | |
download | brdo-33f455d2df47ef80dd5b3c736762cecd23b0ba63.tar.gz brdo-33f455d2df47ef80dd5b3c736762cecd23b0ba63.tar.bz2 |
#153998 by David_Rothstein and myself: clean up permissions in book, blog, blogapi, forum and locale modules
Diffstat (limited to 'modules/blogapi/blogapi.install')
-rw-r--r-- | modules/blogapi/blogapi.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/blogapi/blogapi.install b/modules/blogapi/blogapi.install new file mode 100644 index 000000000..c7cc3e561 --- /dev/null +++ b/modules/blogapi/blogapi.install @@ -0,0 +1,20 @@ +<?php +// $Id$ + +/** + * @defgroup updates-5.x-to-6.x Blog API updates from 5.x to 6.x + * @{ + */ + +/** + * Inform users about the new permission. + */ +function blogapi_update_6000() { + drupal_set_message("Blog API module does not depend on blog module's permissions anymore, but provides its own 'administer content with blog api' permission instead. Until <a href=\"". url('admin/user/permissions', array('fragment' => 'module-blogapi')) .'">this permission is assigned</a> to at least one user role, only the site administrator will be able to use Blog API features.'); + return array(); +} + +/** + * @} End of "defgroup updates-5.x-to-6.x" + * The next series of updates should start at 7000. + */ |