File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -521,6 +521,11 @@ public static function getSession()
521521 return self ::$ persistentSession ;
522522 }
523523
524+ public static function resetSession ()
525+ {
526+ self ::$ persistentSession = null ;
527+ }
528+
524529 private static $ persistentSession ;
525530 private static $ instance = null ;
526531}
Original file line number Diff line number Diff line change @@ -1807,6 +1807,11 @@ public static function getSession()
18071807 return self ::$ persistentSession ;
18081808 }
18091809
1810+ public static function resetSession ()
1811+ {
1812+ self ::$ persistentSession = null ;
1813+ }
1814+
18101815 public static function formatDate ($ ts ) {
18111816 if (date ('Ymd ' ) == date ('Ymd ' ,$ ts )) {
18121817 return date (erLhcoreClassModule::$ dateHourFormat ,$ ts );
Original file line number Diff line number Diff line change @@ -1183,6 +1183,11 @@ public static function getSession()
11831183 return self ::$ persistentSession ;
11841184 }
11851185
1186+ public static function resetSession ()
1187+ {
1188+ self ::$ persistentSession = null ;
1189+ }
1190+
11861191 private static $ persistentSession ;
11871192
11881193}
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ public static function getSession()
1414 return self ::$ persistentSession ;
1515 }
1616
17+ public static function resetSession ()
18+ {
19+ self ::$ persistentSession = null ;
20+ }
21+
1722 public static function validateBot (& $ bot , $ additionalParams = array ()) {
1823
1924 $ definition = array (
You can’t perform that action at this time.
0 commit comments