ConfigValue('User_LoggedInGroup'); $sql = str_replace('#GROUP_ID#', $everyone_group, $sql); RunSQLText($application->Conn, Array($sql), 'dbconnection'); // set Categories Name & Description to their multilingual equialents $ml_formatter =& $application->recallObject('kMultiLanguage'); $table_name = $this->Application->getUnitOption('c', 'TableName'); $sql = 'UPDATE '.$table_name.' SET '.$ml_formatter->LangFieldName('Name').' = Name, '.$ml_formatter->LangFieldName('Description').' = Description'; $application->Conn->Query($sql); ?>