public function tearDown() { elgg_unregister_notification_method('test'); $this->user1->delete(); $this->user2->delete(); $this->group->delete(); }
/** * This function unregisters a handler for a given notification type (eg "email") * * @param string $method The method * * @return void * @since 1.7.1 * @deprecated 1.9 Use elgg_unregister_notification_method() */ function unregister_notification_handler($method) { elgg_deprecated_notice(__FUNCTION__ . ' is deprecated by elgg_unregister_notification_method()', 1.9); elgg_unregister_notification_method($method); }