Skip to content

Commit

Permalink
Drop useless setup functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Nov 17, 2023
1 parent d077db1 commit e6a835d
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,33 +82,3 @@ function plugin_version_centreon()
]
];
}

/**
* Check pre-requisites before install
* OPTIONNAL, but recommanded
*
* @return boolean
*/
function plugin_centreon_check_prerequisites()
{
return true;
}

/**
* Check configuration process
*
* @param boolean $verbose Whether to display message on failure. Defaults to false
*
* @return boolean
*/
function plugin_centreon_check_config($verbose = false)
{
if (true) { // Your configuration check
return true;
}

if ($verbose) {
echo __('Installed / not configured', 'centreon');
}
return false;
}

0 comments on commit e6a835d

Please sign in to comment.