Maintenace plugin error

I install servoy 6.1.2 and received error: maintenance plugin is only meant to run during solution import using before or after import hook. I use maintenance plugin to retrieve all available database servers: plugins.maintenance.getServerNames()
Same line of command works in 6.0.7.
Is it bug?

You can use databaseManager.getServerNames() instead.

Hi, Matt
I would like to pick up all servers name, not only from open solution.

I am sure you saw this already, but per the wiki:

Maintenance plugin availablility
The Maintenance plugin is only available to the code being executed inside the pre and post import hooks. The plugin can not be used in normal clients

Debugging
While the maintanance plugins is only available during import on the Servoy Application Server, it works like a normal plugin in Servoy Developer as long the solution type is an import hook. Such an import hook solution can be started and debugged in any client type within Servoy Developer.

Here is the link to the full wiki page: http://wiki.servoy.com/display/public/DOCS/maintenance