junk
This commit is contained in:
parent
043f16a0af
commit
7026254a44
|
|
@ -1781,18 +1781,6 @@ function rankExists($groupid, $rank)
|
|||
return false;
|
||||
}
|
||||
|
||||
function generalGroupConfig($groupid)
|
||||
{
|
||||
$group = $GLOBALS['pdo']->prepare("SELECT * FROM groups WHERE id = :u");
|
||||
$group->bindParam(":u", $groupid, PDO::PARAM_INT);
|
||||
$group->execute();
|
||||
$group = $group->fetch(PDO::FETCH_OBJ);
|
||||
$groupname = $group->name;
|
||||
$groupdescription = $group->description;
|
||||
$groupapproval = $group->manualapproval;
|
||||
|
||||
}
|
||||
|
||||
function groupJoinRequests($groupid)
|
||||
{
|
||||
$requests = $GLOBALS['pdo']->prepare("SELECT * FROM group_join_requests WHERE groupid = :gid ORDER BY whenRequested DESC");
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ if ($id)
|
|||
{
|
||||
if (isAssetApproved($id) and !isAssetModerated($id)) //if the asset is approved and not moderated
|
||||
{
|
||||
if (WebContextManager::VerifyAccessKeyHeader()) //immediately allow full access (passing true disables die() and returns true or false)
|
||||
if (WebContextManager::VerifyAccessKeyHeader()) //immediately allow full access
|
||||
{
|
||||
ReturnAsset($iteminfo->Hash, $iteminfo->AssetTypeId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue