Function __global->set_database_index_maintenance

Definitions

sources/import.php

  • Turn index maintenance off to help speed import, or back on.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$on boolean No No required parameter N/A N/A Whether index maintenance should be on

Preview

Code (PHP)

/**
 * Turn index maintenance off to help speed import, or back on.
 *
 * @param  boolean $on Whether index maintenance should be on
 */

function set_database_index_maintenance(bool $on)