You are here

function advanced_forum_forum_enable in Advanced Forum 6.2

Same name and namespace in other branches
  1. 7.2 plugins/tasks/forum.inc \advanced_forum_forum_enable()

Callback to enable/disable the page from the UI.

1 string reference to 'advanced_forum_forum_enable'
advanced_forum_forum_page_manager_tasks in plugins/tasks/forum.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

plugins/tasks/forum.inc, line 112

Code

function advanced_forum_forum_enable($cache, $status) {
  variable_set('advanced_forum_forum_disabled', $status);
}