Merge branch '2.5.x' into cc-5594-date_default

This commit is contained in:
Naomi 2013-12-06 18:18:17 -05:00
commit 0f28e0f1aa
2 changed files with 3 additions and 10 deletions

View file

@ -146,8 +146,7 @@ class Application_Model_Preference
$paramMap[':key'] = $key; $paramMap[':key'] = $key;
//For user specific preference, check if id matches as well //For user specific preference, check if id matches as well
if (isset($userId)) { if ($isUserValue) {
$sql .= " AND subjid = :id"; $sql .= " AND subjid = :id";
$paramMap[':id'] = $userId; $paramMap[':id'] = $userId;
} }
@ -166,7 +165,7 @@ class Application_Model_Preference
$paramMap[':key'] = $key; $paramMap[':key'] = $key;
//For user specific preference, check if id matches as well //For user specific preference, check if id matches as well
if (isset($userId)) { if ($isUserValue) {
$sql .= " AND subjid = :id"; $sql .= " AND subjid = :id";
$paramMap[':id'] = $userId; $paramMap[':id'] = $userId;
} }

View file

@ -778,12 +778,6 @@ SQL;
->save(); ->save();
} }
} }
//remove the old repeating deleted instances.
/*CcShowInstancesQuery::create()
->filterByDbShowId($showId)
->filterByDbModifiedInstance(true)
->delete();*/
} }
return false; return false;