The function does more than simply executes "FLUSH HOSTS". Also change return type to bool as that is what it has returned.
A link with the old directory name is provided.