Commit 413dabc1 authored by Leigh B Stoller's avatar Leigh B Stoller

Use disabled flag in the apt_aggregates table to remove clusters from

the instantiate page.
parent 9477e47a
<?php
#
# Copyright (c) 2006-2015 University of Utah and the Flux Group.
# Copyright (c) 2006-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -108,7 +108,8 @@ class Aggregate
$query_result =
DBQueryFatal("select urn,name,adminonly from apt_aggregates ".
"where FIND_IN_SET('$PORTAL_GENESIS', portals)");
"where disabled=0 and ".
" FIND_IN_SET('$PORTAL_GENESIS', portals)");
while ($row = mysql_fetch_array($query_result)) {
$urn = $row["urn"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment