mirror of https://github.com/acanas/swad-core.git
Version19.145.1
This commit is contained in:
parent
22ff1aca86
commit
9c8f5895d5
|
@ -137,13 +137,13 @@ static void Gam_GetGameTxtFromDB (long GamCod,char Txt[Cns_MAX_BYTES_TEXT + 1]);
|
||||||
|
|
||||||
static void Gam_RemoveGameFromAllTables (long GamCod);
|
static void Gam_RemoveGameFromAllTables (long GamCod);
|
||||||
|
|
||||||
static bool Gam_CheckIfSimilarGameExists (struct Game *Game);
|
static bool Gam_CheckIfSimilarGameExists (const struct Game *Game);
|
||||||
|
|
||||||
static void Gam_PutFormsEditionGame (struct Game *Game,
|
static void Gam_PutFormsEditionGame (struct Game *Game,
|
||||||
char Txt[Cns_MAX_BYTES_TEXT + 1],
|
char Txt[Cns_MAX_BYTES_TEXT + 1],
|
||||||
bool ItsANewGame);
|
bool ItsANewGame);
|
||||||
static bool Gam_ReceiveGameFieldsFromForm (struct Game *Game,
|
static void Gam_ReceiveGameFieldsFromForm (struct Game *Game,
|
||||||
char Txt[Cns_MAX_BYTES_TEXT + 1]);
|
char Txt[Cns_MAX_BYTES_TEXT + 1]);
|
||||||
static bool Gam_CheckGameFieldsReceivedFromForm (const struct Game *Game);
|
static bool Gam_CheckGameFieldsReceivedFromForm (const struct Game *Game);
|
||||||
|
|
||||||
static void Gam_CreateGame (struct Game *Game,const char *Txt);
|
static void Gam_CreateGame (struct Game *Game,const char *Txt);
|
||||||
|
@ -1242,7 +1242,7 @@ void Gam_UnhideGame (void)
|
||||||
/******************* Check if the title of a game exists *******************/
|
/******************* Check if the title of a game exists *******************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
static bool Gam_CheckIfSimilarGameExists (struct Game *Game)
|
static bool Gam_CheckIfSimilarGameExists (const struct Game *Game)
|
||||||
{
|
{
|
||||||
/***** Get number of games with a field value from database *****/
|
/***** Get number of games with a field value from database *****/
|
||||||
return (DB_QueryCOUNT ("can not get similar games",
|
return (DB_QueryCOUNT ("can not get similar games",
|
||||||
|
|
Loading…
Reference in New Issue