forked from GNUsocial/gnu-social
[Actor] Refactor GSActor into Actor
This commit is contained in:
@@ -75,7 +75,7 @@ class Cover extends Plugin
|
||||
public function onStartTwigPopulateVars(array &$vars): bool
|
||||
{
|
||||
/*if (Common::user() != null) {
|
||||
$cover = DB::find('cover', ['gsactor_id' => Common::user()->getId()]);
|
||||
$cover = DB::find('cover', ['actor_id' => Common::user()->getId()]);
|
||||
if ($cover != null) {
|
||||
$vars['profile_extras'][] = ['name' => 'cover', 'vars' => ['img' => '/cover']];
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user