diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index a0489d5b26b..92bedc426a5 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1068,7 +1068,7 @@ if ($id > 0 || ! empty($ref)) $text=$langs->trans('ConfirmValidateProp',$numref); if ($conf->notification->enabled) { - require_once(DOL_DOCUMENT_ROOT ."/notify.class.php"); + require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php"); $notify=new Notify($db); $text.='
'; $text.=$notify->confirmMessage('NOTIFY_VAL_PROPAL',$propal->socid); diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index c943f8de4cc..f4a3baf5d66 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1368,7 +1368,7 @@ else $text=$langs->trans('ConfirmValidateOrder',$numref); if ($conf->notification->enabled) { - require_once(DOL_DOCUMENT_ROOT ."/notify.class.php"); + require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php"); $notify=new Notify($db); $text.='
'; $text.=$notify->confirmMessage('NOTIFY_VAL_ORDER',$commande->socid); diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php index 1756431f30b..fa0e158d3ea 100644 --- a/htdocs/commande/index.php +++ b/htdocs/commande/index.php @@ -27,7 +27,7 @@ require("../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php"); -require_once(DOL_DOCUMENT_ROOT ."/notify.class.php"); +require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php"); require_once(DOL_DOCUMENT_ROOT ."/commande/commande.class.php"); if (!$user->rights->commande->lire) accessforbidden(); diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 051977bbea1..b9bd63eb6fc 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2174,7 +2174,7 @@ else $text=$langs->trans('ConfirmValidateBill',$numref); if ($conf->notification->enabled) { - require_once(DOL_DOCUMENT_ROOT ."/notify.class.php"); + require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php"); $notify=new Notify($db); $text.='
'; $text.=$notify->confirmMessage('NOTIFY_VAL_FAC',$fac->socid); diff --git a/htdocs/compta/facture/facture-rec.class.php b/htdocs/compta/facture/facture-rec.class.php index e43ac80d362..322747e6297 100644 --- a/htdocs/compta/facture/facture-rec.class.php +++ b/htdocs/compta/facture/facture-rec.class.php @@ -26,7 +26,7 @@ * \version $Id$ */ -require_once(DOL_DOCUMENT_ROOT."/notify.class.php"); +require_once(DOL_DOCUMENT_ROOT."/core/notify.class.php"); require_once(DOL_DOCUMENT_ROOT."/product/product.class.php"); require_once(DOL_DOCUMENT_ROOT."/compta/facture/facture.class.php"); diff --git a/htdocs/notify.class.php b/htdocs/core/notify.class.php similarity index 100% rename from htdocs/notify.class.php rename to htdocs/core/notify.class.php diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index 1ca9c78ad2b..7d142611739 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -576,7 +576,7 @@ if ($id > 0 || ! empty($ref)) $text=$langs->trans('ConfirmValidateOrder',$newref); if ($conf->notification->enabled) { - require_once(DOL_DOCUMENT_ROOT ."/notify.class.php"); + require_once(DOL_DOCUMENT_ROOT ."/core/notify.class.php"); $notify=new Notify($db); $text.='
'; $text.=$notify->confirmMessage(3,$commande->socid); diff --git a/htdocs/includes/triggers/interface_modNotification_Notification.class.php b/htdocs/includes/triggers/interface_modNotification_Notification.class.php index b4aba62b25b..59f5bba6ba8 100644 --- a/htdocs/includes/triggers/interface_modNotification_Notification.class.php +++ b/htdocs/includes/triggers/interface_modNotification_Notification.class.php @@ -97,7 +97,7 @@ class InterfaceNotification // Si module notification non actif, on ne fait rien if (! $conf->notification->enabled) return 0; - require_once(DOL_DOCUMENT_ROOT .'/notify.class.php'); + require_once(DOL_DOCUMENT_ROOT .'/core/notify.class.php'); if ($action == 'BILL_VALIDATE') {