! fix for #866 unable to delete smiley
! remove extra $db = database

Signed-off-by: Spuds <spuds@spudsdesign.com>
! error count total was being doubled, just use the value of the last key returned
! extra $db =

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #869 from Spuds/Fixemaswefindem

Fix  #866 unable to delete smiley set