<commit_before><?php
/**
 * @package        Moderation
 * @category       modules
 * @author         <NAME> <<EMAIL>>
 * @copyright      Copyright (c) 2014, <NAME>
 * @license        MIT License, see license.txt
 */
namespace cs;

use h;

$module_properties = Config::instance()->module('Moderation');
$Index             = Index::instance();
if (isset($_POST['moderators_group'])) {
	$module_properties->moderators_group = (int)$_POST['moderators_group'];
	$Index->save();
}
$groups = Group::instance()->get_all();
<commit_msg>Do not show apply button in Moderation administration<commit_after><?php
/**
 * @package        Moderation
 * @category       modules
 * @author         <NAME> <<EMAIL>>
 * @copyright      Copyright (c) 2014, <NAME>
 * @license        MIT License, see license.txt
 */
namespace cs;

use h;

$module_properties = Config::instance()->module('Moderation');
$Index             = Index::instance();
if (isset($_POST['moderators_group'])) {
	$module_properties->moderators_group = (int)$_POST['moderators_group'];
	$Index->save();
}
$groups              = Group::instance()->get_all();
$Index->apply_button = false;

{'fraction_non_alphanumeric': 0.17150395778364116, 'fraction_numerical': 0.007036059806508356, 'mean_word_length': 3.7219917012448134, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5517268', 'n_tokens_mistral': 351, 'n_tokens_neox': 339, 'n_words': 75}