Remove unused code in include/
- Remove unused variables
This commit is contained in:
parent
dbc6eb5422
commit
da7706ce61
|
@ -3735,7 +3735,6 @@ function api_direct_messages_new($type)
|
||||||
}
|
}
|
||||||
|
|
||||||
$replyto = '';
|
$replyto = '';
|
||||||
$sub = '';
|
|
||||||
if (!empty($_REQUEST['replyto'])) {
|
if (!empty($_REQUEST['replyto'])) {
|
||||||
$r = q(
|
$r = q(
|
||||||
'SELECT `parent-uri`, `title` FROM `mail` WHERE `uid`=%d AND `id`=%d',
|
'SELECT `parent-uri`, `title` FROM `mail` WHERE `uid`=%d AND `id`=%d',
|
||||||
|
|
|
@ -940,7 +940,6 @@ function item_photo_menu($item) {
|
||||||
*/
|
*/
|
||||||
function builtin_activity_puller($item, &$conv_responses) {
|
function builtin_activity_puller($item, &$conv_responses) {
|
||||||
foreach ($conv_responses as $mode => $v) {
|
foreach ($conv_responses as $mode => $v) {
|
||||||
$url = '';
|
|
||||||
$sparkle = '';
|
$sparkle = '';
|
||||||
|
|
||||||
switch ($mode) {
|
switch ($mode) {
|
||||||
|
|
|
@ -302,8 +302,6 @@ function subscribe_to_hub($url, array $importer, array $contact, $hubmode = 'sub
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$a = BaseObject::getApp();
|
|
||||||
|
|
||||||
$user = DBA::selectFirst('user', ['nickname'], ['uid' => $importer['uid']]);
|
$user = DBA::selectFirst('user', ['nickname'], ['uid' => $importer['uid']]);
|
||||||
|
|
||||||
// No user, no nickname, we quit
|
// No user, no nickname, we quit
|
||||||
|
|
Loading…
Reference in a new issue