You are here

function private_content_disable in Private 8

Implements hook_disable().

A node access module needs to force a rebuild of the node access table when it is disabled to ensure that its entries are removed from the table.

File

./private_content.module, line 39
A tremendously simple access control module -- it allows users to mark individual nodes as private; users with 'access private content' perms can read these nodes, while others cannot.

Code

function private_content_disable() {
  private_content_disabling(TRUE);
  node_access_needs_rebuild(TRUE);
}