Code cleanup, following and gif support
This commit is contained in:
parent
493f56a052
commit
30954f3d3a
21 changed files with 318 additions and 123 deletions
12
helpers/Following.php
Normal file
12
helpers/Following.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
namespace Helpers;
|
||||
|
||||
class Following {
|
||||
static public function get (): array {
|
||||
$following_string = Settings::get('following');
|
||||
if ($following_string) {
|
||||
return explode(',', $following_string);
|
||||
}
|
||||
return [];
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue