remove useless variable declaration, and some cosmetic changes

This commit is contained in:
n 2021-02-28 12:54:14 +01:00
parent fe5ace1b9b
commit 17615e1fc6
Signed by: n
GPG Key ID: E96086FC951DAE30
1 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ use Shaarli\Config\ConfigManager;
use Shaarli\Plugin\PluginManager; use Shaarli\Plugin\PluginManager;
use Shaarli\Render\TemplatePage; use Shaarli\Render\TemplatePage;
static $redirect_counter = 0;
/** /**
* In the footer hook, there is a working example of a translation extension for Shaarli. * 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'; const EXT_TRANSLATION_DOMAIN = 'shaargem';
/* /*
* This is not necessary, but it's easier if you don't want Poedit to mix up your translations. * 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]; return $title[1];
} }
} }