Skip to content

Commit

Permalink
Update Kumbia::cache() to return FALSE
Browse files Browse the repository at this point in the history
when the app is not in Production
  • Loading branch information
joanhey committed May 1, 2015
1 parent 56b5e5d commit fbee875
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/kumbia/kumbia_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public static function cache($time, $type='view', $group='kumbia.view')
if (PRODUCTION && $type === 'view') {
return self::getCache(); //TRUE si está cacheada
}
return False;
}

/**
Expand Down

0 comments on commit fbee875

Please sign in to comment.