Some internal changes, fix permission error.

git-svn-id: https://plugins.svn.wordpress.org/leaguemanager/trunk@875811 b8457f37-d9ea-0310-8a92-e5e31aec5664
Minor internal changes, bugfix for permissions error.

git-svn-id: https://plugins.svn.wordpress.org/leaguemanager/trunk@875812 b8457f37-d9ea-0310-8a92-e5e31aec5664