src/Neuron/GameServer/Player.php
private function sendUserData ()
    {

        // First: load this users OpenID notification urls
        $db = Neuron_DB_Database::__getInstance ();

        $openid_rows = Neuron_GameServer_Mappers_PlayerMapper::getOpenIDs ($this);

        if (count ($openid_rows) > 0)
        {
            $information = $this->getBrowserBasedGamesData ();
            $statistics = $this->getStatistics ();

            // Send the notification
            foreach ($openid_rows as $v)
            {
                $stat = new BrowserGamesHub_Statistics ($statistics, $information);
                $stat->send ($v['notify_url']);
            }
        }
    }
private function sendUserData ()
    {

        // First: load this users OpenID notification urls
        $db = Neuron_DB_Database::__getInstance ();

        $openid_rows = Neuron_GameServer_Mappers_PlayerMapper::getOpenIDs ($this);

        if (count ($openid_rows) > 0)
        {
            $information = $this->getBrowserBasedGamesData ();
            $statistics = $this->getStatistics ();

            // Send the notification
            foreach ($openid_rows as $v)
            {
                $stat = new BrowserGamesHub_Statistics ($statistics, $information);
                $stat->send ($v['notify_url']);
            }
        }
    }
/*
Send all user data (nickname, score, etc) to the OpenID provider.