You are here

function apps_admin_permissions_revert_submit in Apps 7

Reverts the permission to default.

1 string reference to 'apps_admin_permissions_revert_submit'
apps_admin_permissions in ./apps.pages.inc
Copy of user_admin_permissions() but for specific permissions.

File

./apps.pages.inc, line 265
The page callbacks for the Apps module.

Code

function apps_admin_permissions_revert_submit($form, &$form_state) {
  apps_app_configure_permissions($form['#app']);
  drupal_set_message(t('The permissions have been reverted.'));
}