on test pour ne pas creer plusieurs comptes auteurs : curl_login
This commit is contained in:
parent
b772c4ca1c
commit
147bc80a76
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ function gamumail_upgrade($nom_meta_base_version, $version_cible) {
|
|||
}
|
||||
|
||||
function creer_compte_curl(){
|
||||
if (sql_countsel('nom', 'spip_auteurs', 'nom="curl_login"')){
|
||||
return;
|
||||
}
|
||||
$mdp = uniqid(uniqid(),1);
|
||||
$set = [
|
||||
'nom' => 'curl_login',
|
||||
|
|
Loading…
Add table
Reference in a new issue