Version 3.4.6
This commit is contained in:
1 parent
e4478369d8
commit
b45ea0dffb
1568 files changed
+155104
-161665
No files matched your search
@@ -3,9 +3,9 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.5
|
||||
* IP.Board v3.4.6
|
||||
* Notification library
|
||||
* Last Updated: $Date: 2012-10-30 18:24:46 -0400 (Tue, 30 Oct 2012) $
|
||||
* Last Updated: $Date: 2013-10-16 12:57:41 -0400 (Wed, 16 Oct 2013) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: AndyMillne $ (Original: bfarber)
|
||||
@@ -14,7 +14,7 @@
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @since Thursday Jan 7, 2010
|
||||
* @version $Revision: 11530 $
|
||||
* @version $Revision: 12380 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -395,7 +395,7 @@ class notifications
|
||||
* @return array
|
||||
*/
|
||||
public function getNotificationData( $checkCallbacks=FALSE )
|
||||
{
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Already stored the data?
|
||||
//-----------------------------------------
|
||||
@@ -554,7 +554,7 @@ class notifications
|
||||
|
||||
foreach( $missingTypes as $_type )
|
||||
{
|
||||
$_cache['notifications'][ $_type ] = $_default[ $_type ]['selected'];
|
||||
$_cache['notifications'][ $_type ] = array( 'selected' => $_default[ $_type ]['selected'] );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -845,7 +845,7 @@ class notifications
|
||||
{
|
||||
$this->DB->update( 'members', 'notification_cnt=notification_cnt+1', 'member_id=' . $member['member_id'], true, true );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -1006,7 +1006,7 @@ class notifications
|
||||
if ( count( $members ) )
|
||||
{
|
||||
foreach( $return as $key => $data )
|
||||
{
|
||||
{
|
||||
if ( in_array( $data['notify_from_id'], array_keys( $members ) ) )
|
||||
{
|
||||
$return[ $key ]['member'] = IPSMember::buildProfilePhoto( $members[ $data['notify_from_id'] ] );
|
||||
@@ -1321,7 +1321,7 @@ class notifications
|
||||
}
|
||||
|
||||
return intval( $_limit );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Do we have an application class?
|
||||
|
||||
Reference in new issue
Block a user