forked from GNUsocial/gnu-social
[Poll] Restructured templates, added misssing poll related css
This commit is contained in:
@@ -108,6 +108,11 @@ abstract class Common
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* checks if user is logged in
|
||||
*
|
||||
* @return bool true if user is logged; false if it isn't
|
||||
*/
|
||||
public static function isLoggedIn(): bool
|
||||
{
|
||||
return self::user() != null;
|
||||
|
||||
Reference in New Issue
Block a user