Skip to content
Extraits de code Groupes Projets
Valider a744257f rédigé par Christian Lefebvre's avatar Christian Lefebvre
Parcourir les fichiers

autodoc

parent db4a9112
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -257,6 +257,7 @@ function calcul_branche ($generation) { ...@@ -257,6 +257,7 @@ function calcul_branche ($generation) {
} }
} }
// http://doc.spip.org/@calculer_prochain_postdate
function calculer_prochain_postdate() { function calculer_prochain_postdate() {
include_spip('inc/meta'); include_spip('inc/meta');
$s = spip_query("SELECT UNIX_TIMESTAMP(date) AS ts FROM spip_articles WHERE statut='publie' AND date>"._q(date('Y-m-d H:i:s'))." ORDER BY date LIMIT 0,1"); $s = spip_query("SELECT UNIX_TIMESTAMP(date) AS ts FROM spip_articles WHERE statut='publie' AND date>"._q(date('Y-m-d H:i:s'))." ORDER BY date LIMIT 0,1");
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter