projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dev/core#443 Fix Non-static method calls at CRM_Utils_Mail_Incoming class
[civicrm-core.git]
/
CRM
/
Utils
/
VersionCheck.php
diff --git
a/CRM/Utils/VersionCheck.php
b/CRM/Utils/VersionCheck.php
index 2abd563bc2f69d9af1f81534673a4031054ae14e..2c8cbd9cc4c46613f8a37e31d32cc913df09365e 100644
(file)
--- a/
CRM/Utils/VersionCheck.php
+++ b/
CRM/Utils/VersionCheck.php
@@
-335,6
+335,15
@@
class CRM_Utils_VersionCheck {
}
}
+ /**
+ * Removes cached version info.
+ */
+ public function flushCache() {
+ if (file_exists($this->cacheFile)) {
+ unlink($this->cacheFile);
+ }
+ }
+
/**
* Lookup version_check scheduled job
*/