Remove duplicate code
Remove duplicate code

daveallie/pgweb,akarki15/pgweb,akarki15/pgweb,daveallie/pgweb,adamjaso/pgweb,daveallie/pgweb,akarki15/pgweb,adamjaso/pgweb,adamjaso/pgweb,akarki15/pgweb,sosedoff/pgweb,adamjaso/pgweb,sosedoff/pgweb,sosedoff/pgweb,daveallie/pgweb,sosedoff/pgweb