mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Use static to get token so children can override it
This commit is contained in:
parent
1850c80c3f
commit
ef6eb77991
@ -159,8 +159,8 @@ class Sharing
|
|||||||
{
|
{
|
||||||
self::$db = $GLOBALS['egw']->db;
|
self::$db = $GLOBALS['egw']->db;
|
||||||
|
|
||||||
$token = self::get_token();
|
$token = static::get_token();
|
||||||
|
|
||||||
// are we called from header include, because session did not verify
|
// are we called from header include, because session did not verify
|
||||||
// --> check if it verifys for our token
|
// --> check if it verifys for our token
|
||||||
if ($token && !$keep_session)
|
if ($token && !$keep_session)
|
||||||
|
Loading…
Reference in New Issue
Block a user