[ticket/11103] Forgot a constant

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-09-08 13:40:05 -05:00
parent b594635526
commit 7b0b6fc63c
4 changed files with 14 additions and 1 deletions

View file

@ -273,6 +273,7 @@ define('TOPICS_POSTED_TABLE', $table_prefix . 'topics_posted');
define('TOPICS_TRACK_TABLE', $table_prefix . 'topics_track'); define('TOPICS_TRACK_TABLE', $table_prefix . 'topics_track');
define('TOPICS_WATCH_TABLE', $table_prefix . 'topics_watch'); define('TOPICS_WATCH_TABLE', $table_prefix . 'topics_watch');
define('USER_GROUP_TABLE', $table_prefix . 'user_group'); define('USER_GROUP_TABLE', $table_prefix . 'user_group');
define('USER_NOTIFICATIONS_TABLE', $table_prefix . 'user_notifications');
define('USERS_TABLE', $table_prefix . 'users'); define('USERS_TABLE', $table_prefix . 'users');
define('WARNINGS_TABLE', $table_prefix . 'warnings'); define('WARNINGS_TABLE', $table_prefix . 'warnings');
define('WORDS_TABLE', $table_prefix . 'words'); define('WORDS_TABLE', $table_prefix . 'words');

View file

@ -17,11 +17,19 @@ if (!defined('IN_PHPBB'))
/** /**
* Email notification method class * Email notification method class
* This class handles sending emails for notifications
*
* @package notifications * @package notifications
*/ */
class phpbb_notifications_method_email extends phpbb_notifications_method_base 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 // email the user
} }

View file

@ -17,6 +17,8 @@ if (!defined('IN_PHPBB'))
/** /**
* Private message notifications class * Private message notifications class
* This class handles notifications for private messages
*
* @package notifications * @package notifications
*/ */
class phpbb_notifications_type_pm extends phpbb_notifications_type_base class phpbb_notifications_type_pm extends phpbb_notifications_type_base

View file

@ -17,6 +17,8 @@ if (!defined('IN_PHPBB'))
/** /**
* Post notifications class * Post notifications class
* This class handles notifications for replies to a topic
*
* @package notifications * @package notifications
*/ */
class phpbb_notifications_type_post extends phpbb_notifications_type_base class phpbb_notifications_type_post extends phpbb_notifications_type_base