Skip to content

Potential typos and incomplete parameter lists for database connection variables #4233

@ctrowat

Description

@ctrowat

/install/functions.php:remote_update_config_file():

  • The parameters $rdatabase_ssl_key ,$rdatabase_ssl_cert, $rdatabase_ssl_ca, $database_ssl_key, $database_ssl_cert, $database_ssl_ca are not brought in as globals
  • The parameters $rdatabase_ssl_key $rdatabase_ssl_cert $rdatabase_ssl_ca are not passed in the function call db_connect_real()
  • The parameters $database_ssl_key, $database_ssl_cert, $database_ssl_ca are not persisted in the $save object when configuring the remote poller

/install/functions.php:install_test_local_database_connection():

  • There seems to be a copy and paste error around line 88, the parameters are checked as $database... but set as $rdatabase...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions