Added attendanceType, participoUser as php class

This commit is contained in:
marko
2022-01-09 16:40:06 +01:00
parent 3048cf2e9c
commit 51715ead6b
3 changed files with 96 additions and 16 deletions

View File

@@ -108,8 +108,6 @@ SQL;
$this->unlockingAchievementId = ($unlockingAchievementId == null ? null : (int)$unlockingAchievementId);
$this->imageUrl = $imageUrl;
$this->canHaveRecords = (bool)$canHaveRecords;
# echo("bool(".$canHaveRecords.")=".$this->canHaveRecords."\n");
# var_dump($canHaveRecords, $this->canHaveRecords);
}
/// get the next achievement, the user has to accomplish in that group
@@ -162,8 +160,6 @@ SQL;
if(!$getAll)
$params[':achievementGroupId'] = array('value'=>$this->getId(), 'data_type'=>PDO::PARAM_INT);
$result = dbQuery($this->getDbConnection(), $query, $params);
# var_dump($query);
# var_dump($result);
return $result;
}