Fixes coding style in the last 4 commits (uses S:: instead of Session::).
[platal.git] / modules / xnetgrp.php
index b064196..85009c3 100644 (file)
@@ -221,7 +221,7 @@ class XnetGrpModule extends PLModule
         global $globals;
         $page->changeTpl('xnetgrp/edit.tpl');
 
-        if (Post::has('submit') && Session::has_xsrf_token()) {
+        if (Post::has('submit') && S::has_xsrf_token()) {
             if (S::has_perms()) {
                 if (Post::v('mail_domain') && (strstr(Post::v('mail_domain'), '.') === false)) {
                     $page->trig("le domaine doit ĂȘtre un FQDN (aucune modif effectuĂ©e) !!!");