Moved the assistent function name in the message config file

This commit is contained in:
bison-paolo
2016-10-13 17:57:19 +02:00
parent 8e0ca12deb
commit 9effd11fcd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ $config['send_immediately'] = true; // If the message should be sent immediately
$config['system_person_id'] = 1; // Dummy sender, used for sending messages from the system
$config['redirect_view_message_url'] = 'index.ci.php/Redirect/redirectByToken/'; //
$config['message_html_view_url'] = 'index.ci.php/ViewMessage/toHTML/';
$config['assistent_function'] = 'ass';
define('EMAIL_KONTAKT_TYPE', 'email'); // Email kontakt type
define('SENT_INFO_NEWLINE', '\n'); // tbl_msg_recipient->sentInfo separator
+1 -1
View File
@@ -831,7 +831,7 @@ class MessageLib
// Get all the valid receivers id using the oe_kurzbz
$receivers = $this->ci->BenutzerfunktionModel->loadWhere(
'oe_kurzbz = \'' . $oe_kurzbz . '\''.
' AND funktion_kurzbz = \'ass\'' .
' AND funktion_kurzbz = \'' . $this->ci->config->item('assistent_function') . '\'' .
' AND (NOW() BETWEEN COALESCE(datum_von, NOW()) AND COALESCE(datum_bis, NOW()))'
);