improve CRUD for Character types (issue #319) and implement CRUD for Avatars (issue #37)

This commit is contained in:
coderkun 2014-07-10 12:57:25 +02:00
commit 7873ee0d5b
12 changed files with 760 additions and 245 deletions

View file

@ -578,25 +578,6 @@
}
/**
* Get all XP-levels for a Seminary.
*
* @param int $seminaryId ID of Seminary
* @return array List of XP-levels
*/
public function getXPLevelsForSeminary($seminaryId)
{
return $this->db->query(
'SELECT id, xps, level, name '.
'FROM xplevels '.
'WHERE seminary_id = ? '.
'ORDER BY level ASC',
'i',
$seminaryId
);
}
/**
* Get Characters with the given Character role.
*