aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/notifications/method
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/notifications/method')
-rw-r--r--phpBB/includes/notifications/method/email.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/phpBB/includes/notifications/method/email.php b/phpBB/includes/notifications/method/email.php
index b06e2c018e..0c3cb4bd85 100644
--- a/phpBB/includes/notifications/method/email.php
+++ b/phpBB/includes/notifications/method/email.php
@@ -17,11 +17,19 @@ if (!defined('IN_PHPBB'))
/**
* Email notification method class
+* This class handles sending emails for notifications
+*
* @package notifications
*/
class phpbb_notifications_method_email extends phpbb_notifications_method_base
{
- function notify()
+ public static function is_available()
+ {
+ // Email is always available
+ return true;
+ }
+
+ public function notify()
{
// email the user
}