Update Notifications.php

terribly out of date information/logic contained in this example, shocking !!