Browse Source

Remove unused code in include/

- Remove unused variables
pull/6482/head
Hypolite Petovan 2 years ago
parent
commit
da7706ce61
3 changed files with 0 additions and 4 deletions
  1. +0
    -1
      include/api.php
  2. +0
    -1
      include/conversation.php
  3. +0
    -2
      include/items.php

+ 0
- 1
include/api.php View File

@ -3735,7 +3735,6 @@ function api_direct_messages_new($type)
}
$replyto = '';
$sub = '';
if (!empty($_REQUEST['replyto'])) {
$r = q(
'SELECT `parent-uri`, `title` FROM `mail` WHERE `uid`=%d AND `id`=%d',


+ 0
- 1
include/conversation.php View File

@ -940,7 +940,6 @@ function item_photo_menu($item) {
*/
function builtin_activity_puller($item, &$conv_responses) {
foreach ($conv_responses as $mode => $v) {
$url = '';
$sparkle = '';
switch ($mode) {


+ 0
- 2
include/items.php View File

@ -302,8 +302,6 @@ function subscribe_to_hub($url, array $importer, array $contact, $hubmode = 'sub
return;
}
$a = BaseObject::getApp();
$user = DBA::selectFirst('user', ['nickname'], ['uid' => $importer['uid']]);
// No user, no nickname, we quit


Loading…
Cancel
Save