move notify.class.php to core directory

This commit is contained in:
Philippe Grand 2010-04-13 14:17:01 +00:00
parent f21aed7f61
commit 684e6bc63c
8 changed files with 7 additions and 7 deletions

View File

@ -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.='<br>';
$text.=$notify->confirmMessage('NOTIFY_VAL_PROPAL',$propal->socid);

View File

@ -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.='<br>';
$text.=$notify->confirmMessage('NOTIFY_VAL_ORDER',$commande->socid);

View File

@ -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();

View File

@ -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.='<br>';
$text.=$notify->confirmMessage('NOTIFY_VAL_FAC',$fac->socid);

View File

@ -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");

View File

@ -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.='<br>';
$text.=$notify->confirmMessage(3,$commande->socid);

View File

@ -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')
{