diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-28 20:04:44 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-28 20:04:44 -0700 |
commit | b3525b865784ff5d2d5a76b913b8c86d139cc0f3 (patch) | |
tree | 4061879d490fec39ab01d3feeb575b86586fb7f8 /mod | |
parent | 8d5556764c8472184365a9377bb40c55e97de5ae (diff) | |
download | volse-hubzilla-b3525b865784ff5d2d5a76b913b8c86d139cc0f3.tar.gz volse-hubzilla-b3525b865784ff5d2d5a76b913b8c86d139cc0f3.tar.bz2 volse-hubzilla-b3525b865784ff5d2d5a76b913b8c86d139cc0f3.zip |
remove debugging
Diffstat (limited to 'mod')
-rw-r--r-- | mod/channel.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/channel.php b/mod/channel.php index 6a6b35d46..f1b74136e 100644 --- a/mod/channel.php +++ b/mod/channel.php @@ -161,7 +161,7 @@ function channel_content(&$a, $update = 0, $load = false) { $simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) "; if($load) $simple_update = ''; -dbg(1); + if(($update) && (! $load)) { if ($mid) { $r = q("SELECT parent AS item_id from item where mid like '%s' and uid = %d $item_normal @@ -259,9 +259,6 @@ dbg(1); } -dbg(0); - - if((! $update) && (! $load)) { // This is ugly, but we can't pass the profile_uid through the session to the ajax updater, |