Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
106a7a3a
Commit
106a7a3a
authored
11 years ago
by
colemanw
Browse files
Options
Downloads
Patches
Plain Diff
Test fixes
parent
433380ce
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
api/v3/Entity.php
+2
-2
2 additions, 2 deletions
api/v3/Entity.php
api/v3/Location.php
+3
-3
3 additions, 3 deletions
api/v3/Location.php
with
5 additions
and
5 deletions
api/v3/Entity.php
+
2
−
2
View file @
106a7a3a
...
...
@@ -46,14 +46,14 @@ function civicrm_api3_entity_get($params) {
* Placeholder function. This should never be called, as it doesn't have any meaning
*/
function
civicrm_api3_entity_create
(
$params
)
{
return
civicrm_api3_create_error
(
"API (Entity,Create) does not exist Creating a new entity means modifying the source code of civiCRM."
);
return
civicrm_api3_create_error
(
"API (Entity,
Create) does not exist Creating a new entity means modifying the source code of civiCRM."
);
}
/**
* Placeholder function. This should never be called, as it doesn't have any meaning
*/
function
civicrm_api3_entity_delete
(
$params
)
{
return
civicrm_api3_create_error
(
"API (Entity,Delete) does not exist Deleting an entity means modifying the source code of civiCRM."
);
return
civicrm_api3_create_error
(
"API (Entity,
Delete) does not exist Deleting an entity means modifying the source code of civiCRM."
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
api/v3/Location.php
+
3
−
3
View file @
106a7a3a
...
...
@@ -6,14 +6,14 @@ require_once 'api/v3/utils.php';
* Functions to inform caller that Location is obsolete and Address, Phone, Email, Website should be used
*/
function
civicrm_api3_location_create
(
$params
)
{
return
civicrm_api3_create_error
(
"API (Location,Create) does not exist, use the Address/Phone/Email/Website API instead"
,
array
(
'obsoleted'
=>
TRUE
));
return
civicrm_api3_create_error
(
"API (Location,
Create) does not exist, use the Address/Phone/Email/Website API instead"
,
array
(
'obsoleted'
=>
TRUE
));
}
function
civicrm_api3_location_get
(
$params
)
{
return
civicrm_api3_create_error
(
"API (Location,Get) does not exist, use the Address/Phone/Email/Website API instead"
,
array
(
'obsoleted'
=>
TRUE
));
return
civicrm_api3_create_error
(
"API (Location,
Get) does not exist, use the Address/Phone/Email/Website API instead"
,
array
(
'obsoleted'
=>
TRUE
));
}
function
civicrm_api3_location_delete
(
$params
)
{
return
civicrm_api3_create_error
(
"API (Location,Delete) does not exist, use the Address/Phone/Email/Website API instead"
,
array
(
'obsoleted'
=>
TRUE
));
return
civicrm_api3_create_error
(
"API (Location,
Delete) does not exist, use the Address/Phone/Email/Website API instead"
,
array
(
'obsoleted'
=>
TRUE
));
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment