Removed unnecessary db-call.