Skip to content

Commit

Permalink
Merge pull request #114 from s-nakajima/master
Browse files Browse the repository at this point in the history
Pluginモデルのクエリ結果をキャッシュするように修正したことによる改修
  • Loading branch information
s-nakajima committed Jan 6, 2019
2 parents d0bdbd6 + 27470d2 commit 6eb3dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/TopicFramesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function getPlugins($topicFrameSetting, $conditions = []) {
array('display_topics' => true, 'language_id' => Current::read('Language.id', '0')),
$conditions
);
$plugin = $this->Plugin->find('list', array(
$plugin = $this->Plugin->cacheFindQuery('list', array(
'recursive' => -1,
'fields' => array('key', 'name'),
'conditions' => $conditions,
Expand Down

0 comments on commit 6eb3dcb

Please sign in to comment.