Début restructuration pour compatibilité version 1.3 de paheko
FossilOrigin-Name: 467790c5738a867592117ea6b3a7ac6c61738dab3b8e29a48fed8f19b9df2b38
This commit is contained in:
parent
e75c56b736
commit
bc4739877c
27 changed files with 77 additions and 46 deletions
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
namespace Garradin;
|
||||
use Garradin\Entities\Files\File;
|
||||
namespace Paheko;
|
||||
use Paheko\Entities\Files\File;
|
||||
|
||||
// supprimer les fichiers créés
|
||||
|
||||
// signature par défaut
|
||||
$default_signature_file = \Garradin\Files\Files::get('skel/plugin/recusfiscaux/default_signature.png');
|
||||
$default_signature_file = \Paheko\Files\Files::get('skel/plugin/recusfiscaux/default_signature.png');
|
||||
if (null !== $default_signature_file) {
|
||||
$default_signature_file->delete();
|
||||
}
|
||||
|
|
@ -13,7 +13,7 @@ if (null !== $default_signature_file) {
|
|||
// signature réelle
|
||||
$signature = $plugin->getConfig('signature');
|
||||
if (null !== $signature) {
|
||||
$sig_file = \Garradin\Files\Files::get($signature);
|
||||
$sig_file = \Paheko\Files\Files::get($signature);
|
||||
if (null !== $sig_file) {
|
||||
$sig_file->delete();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue