Remove authorship on purge (Related to #13)

This commit is contained in:
Ricardo Guilherme Schmidt 2019-07-02 02:34:08 -03:00
parent f26b527208
commit 1e8a2fe9b2
No known key found for this signature in database
GPG Key ID: 1FD1630B93893608
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ contract StickerType is Controlled, TokenClaimer, ERC721Enumerable {
} }
if(packs[_packId].category.length == 0){ if(packs[_packId].category.length == 0){
_burn(ownerOf(_packId), _packId);
delete packs[_packId]; delete packs[_packId];
emit Unregister(_packId); emit Unregister(_packId);
} }