Revert "Merge tag 'v2.10.6'"
This reverts commit122ea4ab9e
, reversing changes made toc54a11e250
.
This commit is contained in:
@@ -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 =
|
||||
|
@@ -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())));
|
||||
}
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user