Mercurial > defr > drupal > core
annotate modules/blogapi/blogapi.install @ 1:c1f4ac30525a 6.0
Drupal 6.0
| author | Franck Deroche <webmaster@defr.org> | 
|---|---|
| date | Tue, 23 Dec 2008 14:28:28 +0100 | 
| parents | |
| children | acef7ccb09b5 | 
| rev | line source | 
|---|---|
| webmaster@1 | 1 <?php | 
| webmaster@1 | 2 // $Id: blogapi.install,v 1.1 2008/01/09 09:51:34 goba Exp $ | 
| webmaster@1 | 3 | 
| webmaster@1 | 4 /** | 
| webmaster@1 | 5 * @defgroup updates-5.x-to-6.x Blog API updates from 5.x to 6.x | 
| webmaster@1 | 6 * @{ | 
| webmaster@1 | 7 */ | 
| webmaster@1 | 8 | 
| webmaster@1 | 9 /** | 
| webmaster@1 | 10 * Inform users about the new permission. | 
| webmaster@1 | 11 */ | 
| webmaster@1 | 12 function blogapi_update_6000() { | 
| webmaster@1 | 13 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.'); | 
| webmaster@1 | 14 return array(); | 
| webmaster@1 | 15 } | 
| webmaster@1 | 16 | 
| webmaster@1 | 17 /** | 
| webmaster@1 | 18 * @} End of "defgroup updates-5.x-to-6.x" | 
| webmaster@1 | 19 * The next series of updates should start at 7000. | 
| webmaster@1 | 20 */ | 
