purge unused layers

 From:  Frenchy Pilou (PILOU)
3774.4 
does this script kill the empty layer? (his name)
---
Pilou
Is beautiful that please without concept!
My Gallery