Update mycore.php

Add verification before running function deltable
Merge pull request #1 from felipegaspar/patch-1

Update mycore.php