core: removing a redundant function from common.sp

The removed function is not used at any of db scripts
or via the java code

Change-Id: Iae83bcfeb2741bd4e8f0c2f82ba6f631e35fca75
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>