forked from GNUsocial/gnu-social
[ATTACHMENTS] Further refactoring
Some key points: - Components and Plugins shouldn't extend Module directly - Avatars should be fetched via GSActor ID, not by nickname as that isn't unique - Avatar now is a separate Component - Common file utilities are now to be placed in Core\GSFile, this will handle storage and trigger validation - Some bug fixes
This commit is contained in:
@@ -21,11 +21,11 @@ namespace Component\Left;
|
||||
|
||||
use App\Core\Event;
|
||||
use App\Core\Log;
|
||||
use App\Core\Modules\Module;
|
||||
use App\Core\Modules\Component;
|
||||
use App\Util\Common;
|
||||
use Exception;
|
||||
|
||||
class Left extends Module
|
||||
class Left extends Component
|
||||
{
|
||||
public function onEndTwigPopulateVars(array &$vars)
|
||||
{
|
||||
|
Reference in New Issue
Block a user