1.20.x installer.browser.inc installer_browser_install_queue_clear($include_installed = FALSE)

Clears the install queue.

Removes all projects from the $_SESSION variables.

Parameters

bool $include_installed: If TRUE, also clear the list of recently installed projects.

File

modules/installer/installer.browser.inc, line 138
Various functions that are required by the Installer browse pages.

Code

function installer_browser_install_queue_clear($include_installed = FALSE) {
  $_SESSION['installer_browser_install_list'] = array();
  if ($include_installed) {
    $_SESSION['installer_browser_installed_projects'] = array();
  }
}