Unless you leave the online.php file on the server, the only queries that will occur is a query that will write the location of a member each time they move pages.
To remove that would take a bit of effort, and is really not worth the time.
As long as you comment out (or remove) the links to online.php in your NAV templates, and remove the online.php file from your server, you should be ok.