remove debug statements
This commit is contained in:
parent
fb0b22fb13
commit
4ca730e5d7
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ function events_content(&$a) {
|
||||||
|
|
||||||
$adjust_start = datetime_convert('UTC', date_default_timezone_get(), $start);
|
$adjust_start = datetime_convert('UTC', date_default_timezone_get(), $start);
|
||||||
$adjust_finish = datetime_convert('UTC', date_default_timezone_get(), $finish);
|
$adjust_finish = datetime_convert('UTC', date_default_timezone_get(), $finish);
|
||||||
dbg(1);
|
|
||||||
|
|
||||||
$r = q("SELECT `event`.*, `item`.`id` AS `itemid`,`item`.`plink` FROM `event` LEFT JOIN `item` ON `item`.`event-id` = `event`.`id`
|
$r = q("SELECT `event`.*, `item`.`id` AS `itemid`,`item`.`plink` FROM `event` LEFT JOIN `item` ON `item`.`event-id` = `event`.`id`
|
||||||
WHERE `event`.`uid` = %d
|
WHERE `event`.`uid` = %d
|
||||||
|
@ -178,7 +178,7 @@ dbg(1);
|
||||||
dbesc($adjust_start),
|
dbesc($adjust_start),
|
||||||
dbesc($adjust_finish)
|
dbesc($adjust_finish)
|
||||||
);
|
);
|
||||||
dbg(0);
|
|
||||||
$links = array();
|
$links = array();
|
||||||
|
|
||||||
if(count($r)) {
|
if(count($r)) {
|
||||||
|
|
Loading…
Reference in a new issue