Remove unused code in include/

- Remove unused variables
This commit is contained in:
Hypolite Petovan 2019-01-07 12:33:25 -05:00
parent dbc6eb5422
commit da7706ce61
3 changed files with 0 additions and 4 deletions

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',

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) {

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