simplification gestion logo
FossilOrigin-Name: 91a2a75c24b4c340d69c6c80c9779b8e1454a8708181c92db13115a843e06281
This commit is contained in:
parent
bc21f2733e
commit
2e8eb26e5a
@ -8,9 +8,3 @@ $default_signature_file = (new File)->createAndStore('skel/plugin/recusfiscaux',
|
||||
'default_signature.png',
|
||||
$path,
|
||||
null);
|
||||
// « logo » par défaut
|
||||
$path = __DIR__ . '/data/default_logo.png';
|
||||
$default_logo_file = (new File)->createAndStore('skel/plugin/recusfiscaux',
|
||||
'default_logo.png',
|
||||
$path,
|
||||
null);
|
||||
|
@ -10,12 +10,6 @@ if (null !== $default_signature_file) {
|
||||
$default_signature_file->delete();
|
||||
}
|
||||
|
||||
// logo par défaut
|
||||
$default_logo_file = \Garradin\Files\Files::get('skel/plugin/recusfiscaux/default_logo.png');
|
||||
if (null !== $default_logo_file) {
|
||||
$default_logo_file->delete();
|
||||
}
|
||||
|
||||
// signature réelle
|
||||
$signature = $plugin->getConfig('signature');
|
||||
if (null !== $signature) {
|
||||
|
@ -10,9 +10,4 @@ $old_version = $plugin->getInfos('version');
|
||||
|
||||
if (version_compare($old_version, '0.6.0', '<'))
|
||||
{
|
||||
$path = __DIR__ . '/data/default_logo.png';
|
||||
$default_logo_file = (new File)->createAndStore('skel/plugin/recusfiscaux',
|
||||
'default_logo.png',
|
||||
$path,
|
||||
null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user