Tests ...
This commit is contained in:
parent
0ecef26064
commit
5960582dcf
1 changed files with 0 additions and 5 deletions
|
@ -95,11 +95,6 @@ function api_user()
|
||||||
return $user;
|
return $user;
|
||||||
}
|
}
|
||||||
|
|
||||||
$user = BasicAuth::getCurrentUserID(false);
|
|
||||||
if (!empty($user)) {
|
|
||||||
return $user;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($_SESSION['allow_api'])) {
|
if (!empty($_SESSION['allow_api'])) {
|
||||||
return local_user();
|
return local_user();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue