diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-10 19:21:32 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-10 19:21:32 -0700 |
commit | a6a2c02b6a94ffd5ee764d7746d4395e970d9cdc (patch) | |
tree | b56495087c6d2cd6f6813210911e8b6e0e34aad7 /mod/like.php | |
parent | d3ee99d677cde851ac26fb7505b5aebdd270bf04 (diff) | |
download | volse-hubzilla-a6a2c02b6a94ffd5ee764d7746d4395e970d9cdc.tar.gz volse-hubzilla-a6a2c02b6a94ffd5ee764d7746d4395e970d9cdc.tar.bz2 volse-hubzilla-a6a2c02b6a94ffd5ee764d7746d4395e970d9cdc.zip |
duplicated code
Diffstat (limited to 'mod/like.php')
-rwxr-xr-x | mod/like.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mod/like.php b/mod/like.php index 6e9df7ede..ce8bc3063 100755 --- a/mod/like.php +++ b/mod/like.php @@ -508,14 +508,6 @@ function like_content(&$a) { dbesc(($tgttype)? $tgttype : $objtype), dbesc($obj_id) ); - $r = q("select * from likes where liker = '%s' and likee = '%s' and i_mid = '%s' and verb = '%s' and target_type = '%s' and target_id = '%s' ", - dbesc($observer['xchan_hash']), - dbesc($ch[0]['channel_hash']), - dbesc($mid), - dbesc($activity), - dbesc(($tgttype)? $tgttype : $objtype), - dbesc($obj_id) - ); if($r) build_sync_packet($ch[0]['channel_id'],array('likes' => $r)); |