X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FPermissionTooltip.php;h=71ce2beee2aca1a11a4402e3130266bf102c56fe;hb=04505366217b3a9c00710321f4495da03f727d39;hp=7599c2f060bdffb13942c2c9c58de5b3ddd0d611;hpb=fea62e983ba1ee6289b7579a810ad9baf5629de4;p=friendica.git diff --git a/src/Module/PermissionTooltip.php b/src/Module/PermissionTooltip.php index 7599c2f060..71ce2beee2 100644 --- a/src/Module/PermissionTooltip.php +++ b/src/Module/PermissionTooltip.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Module; @@ -15,10 +34,10 @@ use Friendica\Network\HTTPException; */ class PermissionTooltip extends \Friendica\BaseModule { - public static function rawContent(array $parameters = []) + protected function rawContent(array $request = []) { - $type = $parameters['type']; - $referenceId = $parameters['id']; + $type = $this->parameters['type']; + $referenceId = $this->parameters['id']; $expectedTypes = ['item', 'photo', 'event']; if (!in_array($type, $expectedTypes)) {