This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
Remove unused code in include/
- Remove unused variables
pull/6482/head
Hypolite Petovan
2 years ago
parent
dbc6eb5422
commit
da7706ce61
3 changed files
with
0 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
include/api.php
+0
-1
include/conversation.php
+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
Write
Preview
Loading…
Cancel
Save