mirror of
https://github.com/friendica/friendica
synced 2024-06-18 05:17:55 +02:00
Making the tests work
This commit is contained in:
parent
e492650d1b
commit
0ecef26064
|
@ -100,6 +100,10 @@ function api_user()
|
||||||
return $user;
|
return $user;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($_SESSION['allow_api'])) {
|
||||||
|
return local_user();
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue