remove unused var from PagesController::tree()