Deprecate old admin modules
Added notification messages for the deprecation of the old admin interface modules. Also added notes into the documentation about their deprecation.
This commit is contained in:
@ -63,7 +63,7 @@ extern int execute_cmd(CLI_SESSION* cli);
|
||||
*/
|
||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
MXS_NOTICE("Initialise CLI router module");
|
||||
MXS_WARNING("THE 'cli' MODULE AND 'maxadmin' ARE DEPRECATED: Use 'maxctrl' instead");
|
||||
|
||||
static MXS_ROUTER_OBJECT MyObject =
|
||||
{
|
||||
|
@ -65,7 +65,7 @@ static CLI_INSTANCE* instances;
|
||||
*/
|
||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
MXS_NOTICE("Initialise debug CLI router module.");
|
||||
MXS_WARNING("THE 'debugcli' MODULE IS DEPRECATED");
|
||||
pthread_mutex_init(&instlock, NULL);
|
||||
instances = NULL;
|
||||
|
||||
|
@ -93,7 +93,7 @@ static INFO_INSTANCE* instances;
|
||||
*/
|
||||
extern "C" MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
MXS_NOTICE("Initialise MaxInfo router module.");
|
||||
MXS_WARNING("THE 'maxinfo' MODULE IS DEPRECATED");
|
||||
pthread_mutex_init(&instlock, NULL);
|
||||
instances = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user