Commits

Fredrik Johansson  committed 1c3f45b

v0.6

  • Participants
  • Parent commits a592c9c

Comments (0)

Files changed (2)

File cubeia-social.php

 <?php
 
-/*
- Plugin Name: Cubeia Social
- Description: Plugin for integrating Cubeia Social poker into a WP installation.
- Plugin URI: http://www.cubeiasocial.com/
- License: GPLv2
- Version: 0.5
+/*
+ Plugin Name: Cubeia Social
+ Description: Plugin for integrating Cubeia Social poker into a WP installation.
+ Plugin URI: http://www.cubeiasocial.com/
+ License: GPLv2
+ Version: 0.6
 */
 
-/*
- Copyright (C) 2013 Cubeia Ltd  <info@cubeia.com>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2, as
- published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+/*
+ Copyright (C) 2013 Cubeia Ltd  <info@cubeia.com>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License, version 2, as
+ published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
-/*ini_set("display_errors", "On");
+/*ini_set("display_errors", "On");
 error_reporting(E_ALL);*/
 
 // include logger first
 	global $cs_api;
 	$cs_mtt_ui = new CS_MTT_UI();
 	$cs_leaderboard_ui = new CS_LEADERBOARD_UI();
-	$cs_admin = new CS_Admin();
+	$cs_admin = new CS_Admin();
 	$cs_api = new CS_Api();
 	
 });
  * we can still determine what user is acting (as opposed on logout where we don't
  * have a user ID). 
  */
-add_action("clear_auth_cookie", function() {
+add_action("clear_auth_cookie", function() {
 	global $cs_api;
-	$cs_api->user_logout();
+	$cs_api->user_logout();
 });
 
 
 /*
  * Cleanup on deactivation. Delete dtabase table and 
  * remove all options.
- */
+ */
 register_deactivation_hook(__FILE__, function() {
 	cs_destroy_cookie_table();
 	cs_remove_default_options();
 
 == Changelog ==
 
+= 0.6 =
+* Added avatar url to login response
+
 = 0.5 =
-* fixed leaderboard amounts to handle decimal strings instead of integer cents 
+* Fixed leaderboard amounts to handle decimal strings instead of integer cents 
 
 = 0.4 =
 * Fixed cs-tournaments.js to set contentType to application/json