function page_manager_delete_task_handler

Remove a task handler.

2 calls to page_manager_delete_task_handler()
page_manager_page_delete in page_manager/plugins/tasks/page.inc
Remove a page subtask.
page_manager_save_page_cache in page_manager/page_manager.module
Write all changes from the page cache and clear it out.
1 string reference to 'page_manager_delete_task_handler'
page_manager_schema_1 in page_manager/page_manager.install
Schema version 1 for Panels in D6.

File

page_manager/page_manager.module, line 698

Code

function page_manager_delete_task_handler($handler) {
    // Let the task handler respond to saves:
    if ($function = ctools_plugin_load_function('page_manager', 'task_handlers', $handler->handler, 'delete')) {
        $function($handler);
    }
    db_delete('page_manager_handlers')->condition('name', $handler->name)
        ->execute();
    db_delete('page_manager_weights')->condition('name', $handler->name)
        ->execute();
}