2
2
3
3
/**
4
4
* @file
5
- * This file describes the MM plugin as implemented by SBsys
5
+ * This file describes the MM plugin as implemented by Agenda Management
6
6
*/
7
7
8
8
/**
@@ -34,7 +34,7 @@ function os2web_agman_esdh_mm_test($stuff) {
34
34
*/
35
35
function os2web_agman_esdh_mm_get_import_list () {
36
36
/*
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.
38
38
* We will enumerate the list with the publication-id
39
39
* as parsed from the dir name of the manifest.
40
40
*/
@@ -150,7 +150,7 @@ function os2web_agman_esdh_mm_import_meeting($meeting) {
150
150
// Check if the committee is allowed to publish.
151
151
$ publish_committee = array_map ('trim ' , explode (', ' , variable_get ('os2web_agman_esdh_approved_committees ' , MM_DEFAULT_APPROVED )));
152
152
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 ));
154
154
return FALSE ;
155
155
}
156
156
@@ -221,7 +221,7 @@ function os2web_agman_esdh_mm_import_meeting($meeting) {
221
221
$ meeting ['pdf ' ] = (string ) $ meeting_pdf [0 ];
222
222
$ meeting ['state ' ] = (string ) $ meeting_state [0 ];
223
223
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 );
225
225
}
226
226
227
227
foreach ($ meeting_agendas as $ meeting_agenda ) {
@@ -233,7 +233,7 @@ function os2web_agman_esdh_mm_import_meeting($meeting) {
233
233
}
234
234
}
235
235
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 );
237
237
}
238
238
}
239
239
return $ meetings ;
@@ -269,7 +269,7 @@ function _os2web_agman_esdh_mm_import_meeting_agenda(&$meeting, $agenda_xml) {
269
269
$ agenda += os2web_esdh_provider_default_meeting ();
270
270
return $ agenda ;
271
271
}
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 );
273
273
return FALSE ;
274
274
}
275
275
@@ -477,7 +477,7 @@ function _os2web_agman_esdh_mm_order_addenums($drush = FALSE) {
477
477
}
478
478
if (isset ($ meetings [$ meeting_id [0 ]['value ' ]][$ meeting_sub_id [0 ]['value ' ]])) {
479
479
// 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 );
481
481
node_delete ($ node ->nid );
482
482
}
483
483
else {
0 commit comments