Preparations for the pumpio synchronisation.

This commit is contained in:
Michael Vogel 2013-08-28 08:56:48 +02:00
parent 209343d883
commit 34e7206ba4
2 changed files with 4 additions and 1 deletions

View File

@ -139,6 +139,7 @@ define ( 'NETWORK_LINKEDIN', 'lnkd'); // LinkedIn
define ( 'NETWORK_XMPP', 'xmpp'); // XMPP define ( 'NETWORK_XMPP', 'xmpp'); // XMPP
define ( 'NETWORK_MYSPACE', 'mysp'); // MySpace define ( 'NETWORK_MYSPACE', 'mysp'); // MySpace
define ( 'NETWORK_GPLUS', 'goog'); // Google+ define ( 'NETWORK_GPLUS', 'goog'); // Google+
define ( 'NETWORK_PUMPIO', 'pump'); // pump.io
define ( 'NETWORK_PHANTOM', 'unkn'); // Place holder define ( 'NETWORK_PHANTOM', 'unkn'); // Place holder
@ -161,6 +162,7 @@ $netgroup_ids = array(
NETWORK_XMPP => (-10), NETWORK_XMPP => (-10),
NETWORK_MYSPACE => (-11), NETWORK_MYSPACE => (-11),
NETWORK_GPLUS => (-12), NETWORK_GPLUS => (-12),
NETWORK_PUMPIO => (-13),
NETWORK_PHANTOM => (-127), NETWORK_PHANTOM => (-127),
); );

View File

@ -84,7 +84,8 @@ function network_to_name($s) {
NETWORK_XMPP => t('XMPP/IM'), NETWORK_XMPP => t('XMPP/IM'),
NETWORK_MYSPACE => t('MySpace'), NETWORK_MYSPACE => t('MySpace'),
NETWORK_MAIL2 => t('Email'), NETWORK_MAIL2 => t('Email'),
NETWORK_GPLUS => t('Google+') NETWORK_GPLUS => t('Google+'),
NETWORK_PUMPIO => t('pump.io')
); );
call_hooks('network_to_name', $nets); call_hooks('network_to_name', $nets);