Remove unecessary information being sent from API

This commit is contained in:
Martin Konecny 2012-08-06 17:16:43 -04:00
parent d00f498fb3
commit 975abbaf10

View file

@ -1864,7 +1864,7 @@ class Application_Model_Show {
}
//TODO, returning starts + ends twice (once with an alias). Unify this after the 2.0 release. --Martin
$sql = "SELECT *, si.starts as start_timestamp, si.ends as end_timestamp FROM "
$sql = "SELECT si.starts as start_timestamp, si.ends as end_timestamp, s.name, s.id, si.id as instance_id, si.record, s.url, starts, ends"
." $CC_CONFIG[showInstances] si, $CC_CONFIG[showTable] s"
." WHERE si.show_id = s.id"
." AND si.starts >= TIMESTAMP '$timeStart'"