From a8bda745c77c38ce7c3bcf719d6d821cd35766f3 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Sat, 9 Jul 2011 23:26:27 -0400 Subject: Leverage previously defined Mongo Connection --- models/Kdrama.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/Kdrama.php') diff --git a/models/Kdrama.php b/models/Kdrama.php index 9d3ddf7..f1eee22 100644 --- a/models/Kdrama.php +++ b/models/Kdrama.php @@ -3,7 +3,7 @@ namespace app\models; class Kdrama extends \lithium\data\Model { - protected $_meta = array('key' => '_id', 'source' => 'kdrama'); + protected $_meta = array('key' => '_id', 'source' => 'kdrama', 'connection' => 'mongo'); public static function search($query, $page = 1, $by = 'title') { -- cgit v1.2.3