projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2015-01-12-16-09-32
[civicrm-core.git]
/
CRM
/
Utils
/
Cache
/
NoCache.php
diff --git
a/CRM/Utils/Cache/NoCache.php
b/CRM/Utils/Cache/NoCache.php
index f351560a110c516fa8ebc1ffc614ceda7739bc7a..0d8906069abc1ed314e9523b6381736d49b74bab 100644
(file)
--- a/
CRM/Utils/Cache/NoCache.php
+++ b/
CRM/Utils/Cache/NoCache.php
@@
-32,7
+32,6
@@
* $Id$
*
*/
* $Id$
*
*/
-
class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
/**
class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
/**
@@
-47,11
+46,12
@@
class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
/**
* Constructor
*
/**
* Constructor
*
- * @param array $config an array of configuration params
+ * @param array $config
+ * An array of configuration params.
*
* @return \CRM_Utils_Cache_NoCache
*/
*
* @return \CRM_Utils_Cache_NoCache
*/
- function __construct($config) {
+
public
function __construct($config) {
}
/**
}
/**
@@
-60,7
+60,7
@@
class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
*
* @return bool
*/
*
* @return bool
*/
- function set($key, &$value) {
+
public
function set($key, &$value) {
return FALSE;
}
return FALSE;
}
@@
-69,7
+69,7
@@
class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
*
* @return null
*/
*
* @return null
*/
- function get($key) {
+
public
function get($key) {
return NULL;
}
return NULL;
}
@@
-78,15
+78,14
@@
class CRM_Utils_Cache_NoCache implements CRM_Utils_Cache_Interface {
*
* @return bool
*/
*
* @return bool
*/
- function delete($key) {
+
public
function delete($key) {
return FALSE;
}
/**
* @return bool
*/
return FALSE;
}
/**
* @return bool
*/
- function flush() {
+
public
function flush() {
return FALSE;
}
}
return FALSE;
}
}
-