issue 2735, modified member_communication addon

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12479 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-12-27 07:21:10 +00:00
parent f3df6a7c5a
commit 240a8f4e5e
2 changed files with 37 additions and 1 deletions

View file

@ -29,7 +29,7 @@ if($called_position == 'before_module_init' && $this->module != 'member')
$flag_path = './files/member_extra_info/new_message_flags/'.getNumberingPath($logged_info->member_srl);
$flag_file = $flag_path.$logged_info->member_srl;
if(file_exists($flag_file))
if(file_exists($flag_file) && $addon_info->use_alarm != 'N')
{
$new_message_count = trim(FileHandler::readFile($flag_file));
FileHandler::removeFile($flag_file);