Cleanup for #3010 - removed all redundant lines found by @rabuzarus
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
a8dc8b288c
commit
6de232c60a
3 changed files with 1 additions and 7 deletions
|
@ -772,8 +772,6 @@ function contacts_content(&$a) {
|
|||
|
||||
$sql_extra3 = unavailable_networks();
|
||||
|
||||
$contacts = array();
|
||||
|
||||
$r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `pending` = 0 $sql_extra $sql_extra2 $sql_extra3 ORDER BY `name` ASC LIMIT %d , %d ",
|
||||
intval($_SESSION['uid']),
|
||||
intval($a->pager['start']),
|
||||
|
|
|
@ -726,8 +726,6 @@ function dfrn_request_content(&$a) {
|
|||
|
||||
if(dbm::is_result($intro)) {
|
||||
|
||||
$auto_confirm = false;
|
||||
|
||||
$r = q("SELECT `contact`.*, `user`.* FROM `contact` LEFT JOIN `user` ON `contact`.`uid` = `user`.`uid`
|
||||
WHERE `contact`.`id` = %d LIMIT 1",
|
||||
intval($intro[0]['contact-id'])
|
||||
|
|
|
@ -25,8 +25,6 @@ function msearch_post(&$a) {
|
|||
intval($perpage)
|
||||
);
|
||||
|
||||
$results = array();
|
||||
|
||||
if(dbm::is_result($r)) {
|
||||
foreach($r as $rr)
|
||||
$results[] = array(
|
||||
|
|
Loading…
Reference in a new issue