mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Fixed wrong type-hint + "imported" class
This commit is contained in:
parent
43c0e689f9
commit
93267b5b83
4 changed files with 10 additions and 8 deletions
|
@ -7,6 +7,7 @@
|
|||
* Status: Unsupported
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\DI;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
|
@ -16,7 +17,7 @@ function membersince_install()
|
|||
Hook::register('profile_advanced', 'addon/membersince/membersince.php', 'membersince_display');
|
||||
}
|
||||
|
||||
function membersince_display(Friendica\App $a, array &$b)
|
||||
function membersince_display(App $a, array &$b)
|
||||
{
|
||||
if ($a->getCurrentTheme() == 'frio') {
|
||||
// Works in Frio.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue