You are here

function flickrapi_update_7000 in Flickr API 7

Same name and namespace in other branches
  1. 7.2 flickrapi.install \flickrapi_update_7000()

Use the string 'configure flickr api' instead of configure_flickr_api for permissions.

File

./flickrapi.install, line 12
Update functions for the FlickrAPI module.

Code

function flickrapi_update_7000() {
  db_update('role_permission')
    ->fields(array(
    'permission' => 'configure flickr api',
  ))
    ->condition('permission', 'configure_flickr_api')
    ->execute();
}