MDL-56139 core_message: removed unused constants
This commit is contained in:
+2
-21
@@ -24,31 +24,12 @@
|
||||
|
||||
require_once($CFG->libdir.'/eventslib.php');
|
||||
|
||||
define ('MESSAGE_SHORTLENGTH', 300);
|
||||
define('MESSAGE_SHORTLENGTH', 300);
|
||||
|
||||
define ('MESSAGE_DISCUSSION_WIDTH',600);
|
||||
define ('MESSAGE_DISCUSSION_HEIGHT',500);
|
||||
|
||||
define ('MESSAGE_SHORTVIEW_LIMIT', 8);//the maximum number of messages to show on the short message history
|
||||
|
||||
define('MESSAGE_HISTORY_SHORT',0);
|
||||
define('MESSAGE_HISTORY_ALL',1);
|
||||
|
||||
define('MESSAGE_VIEW_UNREAD_MESSAGES','unread');
|
||||
define('MESSAGE_VIEW_RECENT_CONVERSATIONS','recentconversations');
|
||||
define('MESSAGE_VIEW_RECENT_NOTIFICATIONS','recentnotifications');
|
||||
define('MESSAGE_VIEW_CONTACTS','contacts');
|
||||
define('MESSAGE_VIEW_BLOCKED','blockedusers');
|
||||
define('MESSAGE_VIEW_COURSE','course_');
|
||||
define('MESSAGE_VIEW_SEARCH','search');
|
||||
define('MESSAGE_HISTORY_ALL', 1);
|
||||
|
||||
define('MESSAGE_SEARCH_MAX_RESULTS', 200);
|
||||
|
||||
define('MESSAGE_CONTACTS_PER_PAGE',10);
|
||||
define('MESSAGE_MAX_COURSE_NAME_LENGTH', 30);
|
||||
|
||||
define('MESSAGE_UNREAD', 'unread');
|
||||
define('MESSAGE_READ', 'read');
|
||||
define('MESSAGE_TYPE_NOTIFICATION', 'notification');
|
||||
define('MESSAGE_TYPE_MESSAGE', 'message');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user