forked from GNUsocial/gnu-social
[WEB] Fix translations and small inconsistency when opening on web
This commit is contained in:
@@ -94,14 +94,6 @@ abstract class Common
|
||||
self::ensureLoggedIn()->getNickname();
|
||||
}
|
||||
|
||||
public function getAllNotes(int $noteScope): array
|
||||
{
|
||||
return DB::sql('select * from note n ' .
|
||||
"where n.reply_to is null and (n.scope & {$noteScope}) <> 0 " .
|
||||
'order by n.created DESC',
|
||||
['n' => 'App\Entity\Note']);
|
||||
}
|
||||
|
||||
public static function ensureLoggedIn(): LocalUser
|
||||
{
|
||||
if (($user = self::user()) == null) {
|
||||
|
||||
Reference in New Issue
Block a user