<commit_before><?php

function xmldb_auth_cas_install() {
    global $CFG, $DB;

    // upgrade from 1.9.x, introducing version.php

    // remove cached passowrds, we do not need them for this plugin
    $DB->set_field('user', 'password', 'not cached', array('auth'=>'cas'));

}
<commit_msg>MDL-20948 proper removal of cached pasword hashes just in case upgrading from <1.9.7<commit_after><?php

function xmldb_auth_cas_install() {
    global $CFG, $DB;

    // upgrade from 1.9.x, introducing version.php

    // remove cached passwords, we do not need them for this plugin
    $DB->set_field('user', 'password', 'not cached', array('auth'=>'cas'));

}

{'fraction_non_alphanumeric': 0.1435114503816794, 'fraction_numerical': 0.0183206106870229, 'mean_word_length': 3.8955223880597014, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4190895', 'n_tokens_mistral': 221, 'n_tokens_neox': 212, 'n_words': 66}