Version 3.4.8

This commit is contained in:
Neo committed 2025-12-19 00:42:42 -08:00
1 parent b45ea0dffb
commit c603205a25
1398 files changed
+36675 -31023

No files matched your search

@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Comments library
* Last Updated: $Date: 2013-10-15 10:55:14 -0400 (Tue, 15 Oct 2013) $
* Last Updated: $Date: 2014-09-26 16:32:50 -0400 (Fri, 26 Sep 2014) $
* </pre>
*
* @author $Author: rashbrook $
* @author $Author: stuarts $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Members
* @link http://www.invisionpower.com
* @since 20th February 2002
* @version $Revision: 12379 $
* @version $Revision: 12517 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -994,7 +994,7 @@ class messengerFunctions
$class_attach = new $classToLoad( $this->registry );
$class_attach->type = 'msg';
$class_attach->init();
$class_attach->bulkRemoveAttachment( $idsForAttachments );
$class_attach->bulkRemoveAttachment( $idsForAttachments, 'attach_rel_id', TRUE );
}
else
{
@@ -1094,7 +1094,7 @@ class messengerFunctions
$class_attach = new $classToLoad( $this->registry );
$class_attach->type = 'msg';
$class_attach->init();
$class_attach->bulkRemoveAttachment( array_keys( $idsForAttachments ) );
$class_attach->bulkRemoveAttachment( $idsForAttachments, 'attach_rel_id', TRUE );
//-----------------------------------------
// Delete posts and mapping
@@ -1492,16 +1492,16 @@ class messengerFunctions
'POSTER' => $fromMemberData['members_display_name'],
'TITLE' => $topicData['mt_title'],
'TEXT' => $msgContent,
'LINK' => "?app=members&module=messaging&section=view&do=findMessage&topicID={$topicID}&msgID=__firstUnread__" );
IPSText::getTextClass('email')->setPlainTextTemplate( IPSText::getTextClass('email')->getTemplate( 'personal_convo_new_reply', $toMember['language'] ) );
IPSText::getTextClass('email')->buildPlainTextContent( $buildMessage );
'LINK' => "?app=members&module=messaging&section=view&do=findMessage&topicID={$topicID}&msgID=__firstUnread__" );
IPSText::getTextClass('email')->setPlainTextTemplate( IPSText::getTextClass('email')->getTemplate( 'personal_convo_new_reply', $toMember['language'] ) );
IPSText::getTextClass('email')->buildPlainTextContent( $buildMessage );
IPSText::getTextClass('email')->subject = sprintf( IPSText::getTextClass('email')->subject,
$this->registry->output->buildSEOUrl( 'showuser=' . $fromMemberData['member_id'], 'public', $fromMemberData['members_seo_name'], 'showuser' ),
$fromMemberData['members_display_name'],
$this->registry->output->buildUrl( "app=members&module=messaging&section=view&do=findMessage&topicID={$topicID}&msgID=__firstUnread__", 'public' )
);
);
$notifyLibrary->setMember( $toMember );
$notifyLibrary->setFrom( $fromMemberData );
$notifyLibrary->setNotificationKey( 'reply_private_message' );
@@ -2040,8 +2040,8 @@ class messengerFunctions
$class_attach = new $classToLoad( $this->registry );
$class_attach->type = 'msg';
$class_attach->init();
$class_attach->bulkRemoveAttachment( $idsToDelete );
$class_attach->bulkRemoveAttachment( $idsToDelete, 'attach_rel_id', TRUE );
//-----------------------------------------
// Delete the messages
//-----------------------------------------