LSsession : refresh LSprofiles and session cache on LSsession_refresh
authorBenjamin Renard <brenard@easter-eggs.com>
Fri, 21 Aug 2015 15:49:04 +0000 (17:49 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Fri, 21 Aug 2015 15:49:04 +0000 (17:49 +0200)
public_html/includes/class/class.LSsession.php

index d9701d9..1023dca 100644 (file)
@@ -543,7 +543,9 @@ class LSsession {
       }
       
       if ( !self :: cacheLSprofiles() || isset($_REQUEST['LSsession_refresh']) ) {
+        self :: loadLSprofiles();
         self :: loadLSaccess();
+        $_SESSION['LSsession']=self :: getContextInfos();
       }
       
       LStemplate :: assign('LSsession_username',self :: getLSuserObject() -> getDisplayName());