From 17615e1fc676cf23e13435668b1ebec5b18e2f68 Mon Sep 17 00:00:00 2001 From: n Date: Sun, 28 Feb 2021 12:54:14 +0100 Subject: [PATCH] remove useless variable declaration, and some cosmetic changes --- shaargem.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shaargem.php b/shaargem.php index dc4ee44..3c6d5cc 100644 --- a/shaargem.php +++ b/shaargem.php @@ -9,7 +9,6 @@ use Shaarli\Config\ConfigManager; use Shaarli\Plugin\PluginManager; use Shaarli\Render\TemplatePage; -static $redirect_counter = 0; /** * In the footer hook, there is a working example of a translation extension for Shaarli. * @@ -20,7 +19,6 @@ static $redirect_counter = 0; */ const EXT_TRANSLATION_DOMAIN = 'shaargem'; - /* * This is not necessary, but it's easier if you don't want Poedit to mix up your translations. */ @@ -203,3 +201,4 @@ function fetch_iri_title($iri) return $title[1]; } } +