Parse error: syntax error, unexpected 'if' (T_IF), expecting function (T_FUNCTION) in /home/lpsgcom/public_html/library/Insocial/Avatar/Listener.php on line 6