@@ -132,7 +132,7 @@ function os2web_gf_service_handler($file_id) {
132
132
* @param string $value
133
133
* The value of the conf, which has to be altered/stored.
134
134
*/
135
- function os2web_cs_service_alter_configuration ($key, $value) {
135
+ function os2web_cp_service_alter_configuration ($key, $value) {
136
136
switch ($key) {
137
137
case 'FileServiceURL':
138
138
return variable_set('os2web_cp_service_cp_document_fileurl', $value);
@@ -150,9 +150,9 @@ function os2web_cs_service_alter_configuration($key, $value) {
150
150
* @return bool
151
151
* TRUE on successful content creation.
152
152
*/
153
- function os2web_cs_service_create_case (array $data) {
153
+ function os2web_cp_service_create_case (array $data) {
154
154
// Prepare data.
155
- $data = array_replace_recursive(os2web_cs_service_default_case (), $data);
155
+ $data = array_replace_recursive(os2web_cp_service_default_case (), $data);
156
156
157
157
$query = new EntityFieldQuery();
158
158
$result = $query
@@ -287,7 +287,7 @@ function os2web_cs_service_create_case(array $data) {
287
287
/**
288
288
* Default array structure for a case.
289
289
*/
290
- function os2web_cs_service_default_case () {
290
+ function os2web_cp_service_default_case () {
291
291
return array(
292
292
'type' => 'case',
293
293
'rules' => array(),
@@ -396,8 +396,8 @@ function os2web_cs_service_default_case() {
396
396
* @return bool
397
397
* TRUE on successful content creation.
398
398
*/
399
- function os2web_cs_service_create_document (array $data) {
400
- $data = array_replace_recursive(os2web_cs_service_default_document (), $data);
399
+ function os2web_cp_service_create_document (array $data) {
400
+ $data = array_replace_recursive(os2web_cp_service_default_document (), $data);
401
401
// Prepare data.
402
402
$query = new EntityFieldQuery();
403
403
$result = $query
@@ -519,7 +519,7 @@ function os2web_cs_service_create_document(array $data) {
519
519
/**
520
520
* Default array structure for a case.
521
521
*/
522
- function os2web_cs_service_default_document () {
522
+ function os2web_cp_service_default_document () {
523
523
return array(
524
524
'type' => 'document',
525
525
'rules' => array(),
0 commit comments