projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fusion: strip leading particules from names when comparing them
[platal.git]
/
bin
/
lists.create_promo.php
diff --git
a/bin/lists.create_promo.php
b/bin/lists.create_promo.php
index
a5cbed3
..
3222a42
100755
(executable)
--- a/
bin/lists.create_promo.php
+++ b/
bin/lists.create_promo.php
@@
-1,8
+1,7
@@
#!/usr/bin/php5 -q
<?php
#!/usr/bin/php5 -q
<?php
-require_once(dirname(__FILE__) . '/connect.db.inc.php');
-require_once('validations.inc.php');
+require_once dirname(__FILE__) . '/connect.db.inc.php';
global $globals;
global $globals;
@@
-28,9
+27,9
@@
if (!$owner_user) {
}
// Creates the list.
}
// Creates the list.
-$req = new ListeReq($owner_user, false, "promo
$promo",
$globals->mail->domain, "Liste de la promotion $promo",
+$req = new ListeReq($owner_user, false, "promo
", $promo . '.' .
$globals->mail->domain, "Liste de la promotion $promo",
1 /*private*/, 2 /*moderate*/, 0 /*free subscription*/,
array($owner), array());
$req->submit();
1 /*private*/, 2 /*moderate*/, 0 /*free subscription*/,
array($owner), array());
$req->submit();
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker
f
enc=utf-8:
?>
?>