application/modules/comments/comments.php 1 location
|
@@ 257-260 (lines=4) @@
|
254 |
|
|
255 |
|
// Read comments template |
256 |
|
// Set page id for comments form |
257 |
|
if ($comments != FALSE) { |
258 |
|
($hook = get_hook('comments_store_cache')) ? eval($hook) : NULL; |
259 |
|
$this->cache->store('comments_' . $item_id . $this->module, $comments, $this->cache_ttl, 'comments'); |
260 |
|
} |
261 |
|
//} |
262 |
|
|
263 |
|
if (is_array($comments)) { |
application/modules/comments/commentsapi.php 1 location
|
@@ 157-160 (lines=4) @@
|
154 |
|
|
155 |
|
// Read comments template |
156 |
|
// Set page id for comments form |
157 |
|
if ($comments != FALSE) { |
158 |
|
($hook = get_hook('comments_store_cache')) ? eval($hook) : NULL; |
159 |
|
$this->cache->store('comments_' . $item_id . $this->module, $comments, $this->cache_ttl, 'comments'); |
160 |
|
} |
161 |
|
|
162 |
|
if ($comments != null) { |
163 |
|
$comments_count = count($comments); |