kopia lustrzana https://github.com/friendica/friendica
Tests ...
rodzic
0ecef26064
commit
5960582dcf
|
@ -95,11 +95,6 @@ function api_user()
|
|||
return $user;
|
||||
}
|
||||
|
||||
$user = BasicAuth::getCurrentUserID(false);
|
||||
if (!empty($user)) {
|
||||
return $user;
|
||||
}
|
||||
|
||||
if (!empty($_SESSION['allow_api'])) {
|
||||
return local_user();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue