Function __global->_maintenance_password_check__result

Definitions

sources/crypt_maintenance.php

  • Log the results of the maintenance password check and exit when applicable.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$result boolean No No required parameter N/A N/A Whether login is successful
$silent_failure boolean No No False N/A N/A Whether to proceed without exiting if $result was false

Preview

Code (PHP)

/**
 * Log the results of the maintenance password check and exit when applicable.
 *
 * @param  boolean $result Whether login is successful
 * @param  boolean $silent_failure Whether to proceed without exiting if $result was false
 */

function _maintenance_password_check__result(bool $result, bool $silent_failure = false)