Skip to content

Commit 20c74e1

Browse files
committed
Forgot some mentions of SBSYS
1 parent 58c1173 commit 20c74e1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

os2web_agman_esdh.module

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* @file
4-
* This module implements SBSYS ESDH backend for use in os2web
4+
* This module implements AGMAN ESDH backend for use in os2web
55
*/
66

77
define('MM_IMPORT_DIR', 'public://agman');
@@ -30,7 +30,7 @@ function os2web_agman_esdh_form_os2web_settings_settings_form_alter(&$form, &$fo
3030
$form['meetings'] = array(
3131
'#type' => 'fieldset',
3232
'#title' => 'Referat import',
33-
'#description' => 'Indstillinger der vedrører importen af SBsys referater og dagsordener.',
33+
'#description' => 'Indstillinger der vedrører importen af Agenda Management referater og dagsordener.',
3434
'#collapsible' => TRUE,
3535
'#collapsed' => FALSE,
3636
);
@@ -72,7 +72,7 @@ function os2web_agman_esdh_form_os2web_settings_settings_form_alter(&$form, &$fo
7272
'#title' => 'Ikke standard XML tegn der skal fjernes ved import (regex)',
7373
'#maxlength' => 200,
7474
'#description' => 'Regular expression over ikke standard tegn der skal fjernes ved import.',
75-
'#default_value' => variable_get('os2web_agman_esdh_banned_special_regex', MM_DEFAULT_BANNED_REGEX),
75+
'#default_value' => variable_get('os3web_agman_esdh_banned_special_regex', MM_DEFAULT_BANNED_REGEX),
7676
'#states' => array(
7777
'invisible' => array(
7878
':input[name="os2web_agman_esdh_banned_activate_regex"]' => array('checked' => FALSE),

plugins/mm/os2web_agman_esdh_mm.inc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* @file
5-
* This file describes the MM plugin as implemented by SBsys
5+
* This file describes the MM plugin as implemented by Agenda Management
66
*/
77

88
/**
@@ -34,7 +34,7 @@ function os2web_agman_esdh_mm_test($stuff) {
3434
*/
3535
function os2web_agman_esdh_mm_get_import_list() {
3636
/*
37-
* For the SBsys service, we need to import meetings from xml files.
37+
* For the AGMAN service, we need to import meetings from xml files.
3838
* We will enumerate the list with the publication-id
3939
* as parsed from the dir name of the manifest.
4040
*/
@@ -150,7 +150,7 @@ function os2web_agman_esdh_mm_import_meeting($meeting) {
150150
// Check if the committee is allowed to publish.
151151
$publish_committee = array_map('trim', explode(',', variable_get('os2web_agman_esdh_approved_committees', MM_DEFAULT_APPROVED)));
152152
if ($committee == '' || !in_array($committee, $publish_committee)) {
153-
watchdog('SBsys MM', 'Ignored agenda from "%committee" .', array('%committee' => $committee));
153+
watchdog('AGMAN MM', 'Ignored agenda from "%committee" .', array('%committee' => $committee));
154154
return FALSE;
155155
}
156156

@@ -221,7 +221,7 @@ function os2web_agman_esdh_mm_import_meeting($meeting) {
221221
$meeting['pdf'] = (string) $meeting_pdf[0];
222222
$meeting['state'] = (string) $meeting_state[0];
223223
if (empty($meeting_agendas)) {
224-
watchdog('SBsys MM', 'Empty list of import items in %file.', array('%file' => $file), WATCHDOG_WARNING);
224+
watchdog('AGMAN MM', 'Empty list of import items in %file.', array('%file' => $file), WATCHDOG_WARNING);
225225
}
226226

227227
foreach ($meeting_agendas as $meeting_agenda) {
@@ -233,7 +233,7 @@ function os2web_agman_esdh_mm_import_meeting($meeting) {
233233
}
234234
}
235235
else {
236-
watchdog('SBsys MM', 'Failed to parse XML in %file during import.', array('%file' => $file), WATCHDOG_WARNING);
236+
watchdog('AGMAN MM', 'Failed to parse XML in %file during import.', array('%file' => $file), WATCHDOG_WARNING);
237237
}
238238
}
239239
return $meetings;
@@ -269,7 +269,7 @@ function _os2web_agman_esdh_mm_import_meeting_agenda(&$meeting, $agenda_xml) {
269269
$agenda += os2web_esdh_provider_default_meeting();
270270
return $agenda;
271271
}
272-
watchdog('SBsys MM', 'File do not exist in folder. %file', array('%file' => $xml_item_pdf), WATCHDOG_WARNING);
272+
watchdog('AGMAN MM', 'File do not exist in folder. %file', array('%file' => $xml_item_pdf), WATCHDOG_WARNING);
273273
return FALSE;
274274
}
275275

@@ -477,7 +477,7 @@ function _os2web_agman_esdh_mm_order_addenums($drush = FALSE) {
477477
}
478478
if (isset($meetings[$meeting_id[0]['value']][$meeting_sub_id[0]['value']])) {
479479
// Duplicate meeting detected.
480-
watchdog('SBsys MM', 'Duplicate import found for meeting %mid. Deleting nid=%nid.', array('%mid' => $meeting_id['value'], '%nid' => $node->nid), WATCHDOG_WARNING);
480+
watchdog('AGMAN MM', 'Duplicate import found for meeting %mid. Deleting nid=%nid.', array('%mid' => $meeting_id['value'], '%nid' => $node->nid), WATCHDOG_WARNING);
481481
node_delete($node->nid);
482482
}
483483
else {

0 commit comments

Comments
 (0)