Revert "Merge tag 'v2.10.6'"

This reverts commit 122ea4ab9e, reversing
changes made to c54a11e250.
This commit is contained in:
2024-02-16 23:06:09 -06:00
parent 122ea4ab9e
commit 6c08ee9675
521 changed files with 12363 additions and 14503 deletions

View File

@@ -11,7 +11,7 @@ class QRImageInfo extends ExtensionInfo
public string $key = self::KEY;
public string $name = "QR Codes";
public string $url = "http://seemslegit.com";
public array $authors = ["Zach Hall" => "zach@sosguy.net"];
public array $authors = ["Zach Hall"=>"zach@sosguy.net"];
public string $license = self::LICENSE_GPLV2;
public string $description = "Shows a QR Code for downloading a post to cell phones";
public ?string $documentation =

View File

@@ -9,7 +9,7 @@ class QRImage extends Extension
/** @var QRImageTheme */
protected Themelet $theme;
public function onDisplayingImage(DisplayingImageEvent $event): void
public function onDisplayingImage(DisplayingImageEvent $event)
{
$this->theme->links_block(make_http(make_link('image/'.$event->image->id.'.'.$event->image->get_ext())));
}

View File

@@ -6,7 +6,7 @@ namespace Shimmie2;
class QRImageTheme extends Themelet
{
public function links_block(string $link): void
public function links_block(string $link)
{
global $page;