forked from GNUsocial/gnu-social
Merge branch '0.7.x' into 0.8.x
Conflicts: README actions/twitapiusers.php
This commit is contained in:
commit
bafa1ab1c5
3
README
3
README
@ -953,12 +953,15 @@ sslserver: use an alternate server name for SSL URLs, like
|
|||||||
shorturllength: Length of URL at which URLs in a message exceeding 140
|
shorturllength: Length of URL at which URLs in a message exceeding 140
|
||||||
characters will be sent to the user's chosen
|
characters will be sent to the user's chosen
|
||||||
shortening service.
|
shortening service.
|
||||||
|
<<<<<<< HEAD:README
|
||||||
design: a default design (colors and background) for the site.
|
design: a default design (colors and background) for the site.
|
||||||
Sub-items are: backgroundcolor, contentcolor, sidebarcolor,
|
Sub-items are: backgroundcolor, contentcolor, sidebarcolor,
|
||||||
textcolor, linkcolor, backgroundimage, disposition.
|
textcolor, linkcolor, backgroundimage, disposition.
|
||||||
dupelimit: minimum time allowed for one person to say the same thing
|
dupelimit: minimum time allowed for one person to say the same thing
|
||||||
twice. Default 60s. Anything lower is considered a user
|
twice. Default 60s. Anything lower is considered a user
|
||||||
or UI error.
|
or UI error.
|
||||||
|
=======
|
||||||
|
>>>>>>> 0.7.x:README
|
||||||
|
|
||||||
db
|
db
|
||||||
--
|
--
|
||||||
|
@ -51,6 +51,13 @@ class TwitapiusersAction extends TwitterapiAction
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$profile = $user->getProfile();
|
||||||
|
|
||||||
|
if (!$profile) {
|
||||||
|
common_server_error(_('User has no profile.'));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$twitter_user = $this->twitter_user_array($user->getProfile(), true);
|
$twitter_user = $this->twitter_user_array($user->getProfile(), true);
|
||||||
|
|
||||||
if ($apidata['content-type'] == 'xml') {
|
if ($apidata['content-type'] == 'xml') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user