AppModel.php for online: remove database connection