You are here

function oa_core_update_7232 in Open Atrium Core 7.2

Remove orphaned records in og_role table.

File

./oa_core.install, line 347
Provides update and install hooks to oa_core.

Code

function oa_core_update_7232() {

  // See update_7227.  7227 originally didn't remove orphaned records, causing
  // some roles to be removed by mistake.  7227 has now been updated, but we
  // still need to remove orphaned records for sites that have already run the
  // old version of update 7227.
  _oa_core_remove_orphaned_og_roles();
}