Update mycore.php

Add verification before running function deltable