$this->currency = $val['currency'];
$this->plugins = $val['plugins'];
$this->lock_spec = $val['lock_spec'];
$this->currency = $val['currency'];
$this->plugins = $val['plugins'];
$this->lock_spec = $val['lock_spec'];
// At this time we only need to know if at least 1 active user exists.
$sql = "select count(*) as user_count from tt_users".
" where group_id = $id and org_id = $org_id and status = 1";
// At this time we only need to know if at least 1 active user exists.
$sql = "select count(*) as user_count from tt_users".
" where group_id = $id and org_id = $org_id and status = 1";