function DrushRole6::updatePerms

6.x DrushRole.php DrushRole6::updatePerms()
2 calls to DrushRole6::updatePerms()

File

classes/DrushRole.php, line 161

Class

DrushRole6

Code

function updatePerms() {
  $new_perms = implode(", ", $this->perms);
  drush_op('db_query', "UPDATE {permission} SET perm = '%s' WHERE rid = %d", $new_perms, $this->rid);
}