projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaces removed function get_not_registered_user.
[platal.git]
/
bin
/
cron
/
clean.php
diff --git
a/bin/cron/clean.php
b/bin/cron/clean.php
index
88feaab
..
6a1fef8
100755
(executable)
--- a/
bin/cron/clean.php
+++ b/
bin/cron/clean.php
@@
-1,7
+1,7
@@
#!/usr/bin/php5 -q
<?php
/***************************************************************************
#!/usr/bin/php5 -q
<?php
/***************************************************************************
- * Copyright (C) 2003-20
09
Polytechnique.org *
+ * Copyright (C) 2003-20
10
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-38,10
+38,12
@@
query("DELETE FROM register_pending WHERE hash = 'INSCRIT'");
// quelques tables sont triées pour que la lecture triée soit plus facile
query("ALTER TABLE profile_education_enum ORDER BY name");
// quelques tables sont triées pour que la lecture triée soit plus facile
query("ALTER TABLE profile_education_enum ORDER BY name");
-query("ALTER TABLE
binets_def
ORDER BY text");
+query("ALTER TABLE
profile_binet_enum
ORDER BY text");
query("ALTER TABLE groupesx_def ORDER BY text");
query("ALTER TABLE groupesx_def ORDER BY text");
-query("ALTER TABLE secteur ORDER BY text");
-query("ALTER TABLE sections ORDER BY text");
+query("ALTER TABLE profile_job_sector_enum ORDER BY name");
+query("ALTER TABLE profile_job_subsector_enum ORDER BY name");
+query("ALTER TABLE profile_job_subsubsector_enum ORDER BY name");
+query("ALTER TABLE profile_section_enum ORDER BY text");
// Prunes older autocomplete queries.
query("DELETE FROM search_autocomplete WHERE generated < DATE_SUB(NOW(), INTERVAL 1 DAY)");
// Prunes older autocomplete queries.
query("DELETE FROM search_autocomplete WHERE generated < DATE_SUB(NOW(), INTERVAL 1 DAY)");