edvinaskrucas/notification — pull request #4 by duellsy (2013-04-02 02:43:27+00:00)
Title: Change scope in register function for $app

When running unit tests, the register fails since $this is not in object context.

This change simply uses the $app variable that is passed, same result occurs, but unit testing is allowed to process