This commit is contained in:
champsupertramp
2016-08-08 19:19:53 +08:00
+2 -2
View File
@@ -117,7 +117,7 @@ class UM_User {
function get_cached_data( $user_id ) {
$disallow_cache = get_option('um_profile_object_cache_stop');
$disallow_cache = um_get_option('um_profile_object_cache_stop');
if( $disallow_cache ){
return '';
}
@@ -134,7 +134,7 @@ class UM_User {
function setup_cache( $user_id, $profile ) {
$disallow_cache = get_option('um_profile_object_cache_stop');
$disallow_cache = um_get_option('um_profile_object_cache_stop');
if( $disallow_cache ){
return '';
}