projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62fe137
)
Shorter cache duration for versionCheck
author
Coleman Watts
<coleman@civicrm.org>
Mon, 22 Apr 2013 17:20:08 +0000
(10:20 -0700)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 22 Apr 2013 17:20:08 +0000
(10:20 -0700)
CRM/Utils/VersionCheck.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/VersionCheck.php
b/CRM/Utils/VersionCheck.php
index 76a5cccfece8b54a4cde6d84e20905441170a64f..a118af2031c2df40239858db7b408bd0b65c17a5 100644
(file)
--- a/
CRM/Utils/VersionCheck.php
+++ b/
CRM/Utils/VersionCheck.php
@@
-41,8
+41,8
@@
class CRM_Utils_VersionCheck {
LOCALFILE_NAME = 'civicrm-version.php',
// relative to $config->uploadDir
CACHEFILE_NAME = 'latest-version-cache.txt',
- // cachefile expiry time (in seconds) -
a week
- CACHEFILE_EXPIRE =
6048
00;
+ // cachefile expiry time (in seconds) -
one day
+ CACHEFILE_EXPIRE =
864
00;
/**
* We only need one instance of this object, so we use the