remove unused function

Change-Id: I0bf603257b9131e14f12ab289654f081acdda881
add foreign key constraint on oauth tables

Change-Id: Id62bd77950681db0303f6b3bc1a630aa59dd40c1
Fixes: Bug #1214135
Merge "remove unused function"
Merge "add foreign key constraint on oauth tables"