You are here

function og_uninstall in Organic groups 8

Same name and namespace in other branches
  1. 5.8 og.install \og_uninstall()
  2. 5 og.install \og_uninstall()
  3. 5.3 og.install \og_uninstall()
  4. 5.7 og.install \og_uninstall()
  5. 6.2 og.install \og_uninstall()
  6. 6 og.install \og_uninstall()
  7. 7.2 og.install \og_uninstall()
  8. 7 og.install \og_uninstall()

Implements hook_uninstall().

File

./og.install, line 16

Code

function og_uninstall() {
  \Drupal::queue('og_orphaned_group_content')
    ->deleteQueue();
  \Drupal::queue('og_orphaned_group_content_cron')
    ->deleteQueue();
}