Corrections of code deprecated since Elgg 1.8
Merge pull request #6 from Srokap/1.9

Corrections of code deprecated since Elgg 1.8