Merge pull request #1 from friendica/master

Aktualisieren
addon crashes on PHP version >= 5.4

i used a deprecated syntax in one function, which has been removed in
PHP version 5.4
Merge pull request #227 from gerhard6380/master

addon crashes on PHP version >= 5.4