Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
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
Development
CiviCRM Core
Commits
05772ad0
Commit
05772ad0
authored
12 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Plain Diff
Merge pull request
#415
from dlobo/CRM-12347
CRM-12347
parents
d57546d9
57491afa
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CRM/Contact/BAO/GroupContactCache.php
+1
-1
1 addition, 1 deletion
CRM/Contact/BAO/GroupContactCache.php
CRM/Utils/REST.php
+2
-2
2 additions, 2 deletions
CRM/Utils/REST.php
api/v3/Job.php
+1
-0
1 addition, 0 deletions
api/v3/Job.php
with
4 additions
and
3 deletions
CRM/Contact/BAO/GroupContactCache.php
+
1
−
1
View file @
05772ad0
...
...
@@ -103,8 +103,8 @@ AND ( g.cache_date IS NULL OR
(
$now
>= g.refresh_date )
)
$groupIDClause
$limitClause
$orderClause
$limitClause
"
;
$dao
=
CRM_Core_DAO
::
executeQuery
(
$query
);
...
...
This diff is collapsed.
Click to expand it.
CRM/Utils/REST.php
+
2
−
2
View file @
05772ad0
...
...
@@ -394,8 +394,8 @@ class CRM_Utils_REST {
return
$result
;
}
if
(
$_SERVER
[
'REQUEST_METHOD'
]
==
'GET'
&&
strtolower
(
substr
(
$args
[
2
],
0
,
3
))
!=
'get'
)
{
// get only valid for non destructive methods
if
(
$_SERVER
[
'REQUEST_METHOD'
]
==
'GET'
&&
strtolower
(
substr
(
$args
[
2
],
0
,
3
))
!=
'get'
)
{
// get only valid for non destructive methods
require_once
'api/v3/utils.php'
;
return
civicrm_api3_create_error
(
"SECURITY: All requests that modify the database must be http POST, not GET."
,
array
(
...
...
This diff is collapsed.
Click to expand it.
api/v3/Job.php
+
1
−
0
View file @
05772ad0
...
...
@@ -596,4 +596,5 @@ function civicrm_api3_job_group_rebuild( $params ) {
$limit
=
CRM_Utils_Array
::
value
(
'limit'
,
$params
,
0
);
CRM_Contact_BAO_GroupContactCache
::
loadAll
(
null
,
$limit
);
return
civicrm_api3_create_success
();
}
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