libraries/Maniaplanet/WebServices/ManiaHome.php
function postNotification(Notification $n)
	{
		if($n->receiverName)
		{
			if($n->isPrivate)
			{
				return $this->manialinkPublisher->postPrivateNotification($n->message, $n->receiverName);
			}
			return $this->manialinkPublisher->postPersonalNotification($n->message, $n->link, $n->iconStyle, $n->iconSubStyle);
		}
		return $this->manialinkPublisher->postPublicNotification($n->message, $n->link, $n->iconStyle, $n->iconSubStyle);
	}
function postNotification(Notification $n)
	{
		if($n->receiverName)
		{
			if($n->isPrivate)
			{
				return $this->manialinkPublisher->postPrivateNotification($n->message, $n->receiverName);
			}
			return $this->manialinkPublisher->postPersonalNotification($n->message, $n->link, $n->iconStyle, $n->iconSubStyle);
		}
		return $this->manialinkPublisher->postPublicNotification($n->message, $n->link, $n->iconStyle, $n->iconSubStyle);
	}
function postNotification ( Notification $ n ) { if ( $ n -> receiverName ) { if ( $ n -> isPrivate ) { return $ this -> manialinkPublisher -> postPrivateNotification ( $ n -> message , $ n -> receiverName ) ; } return $ this -> manialinkPublisher -> postPersonalNotification ( $ n -> message , $ n -> link , $ n -> iconStyle , $ n -> iconSubStyle ) ; } return $ this -> manialinkPublisher -> postPublicNotification ( $ n -> message , $ n -> link , $ n -> iconStyle , $ n -> iconSubStyle ) ; }
Please use the other methods which are more robust
@deprecated since version 3.1.0
Please use the other methods which are more robust