And again some removed notices
This commit is contained in:
parent
c7764068cc
commit
1f9c353bae
|
@ -1391,7 +1391,7 @@ function pumpio_getallusers(&$a, $uid)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_array($users->items)) {
|
if (!empty($users->items)) {
|
||||||
foreach ($users->items AS $user) {
|
foreach ($users->items AS $user) {
|
||||||
pumpio_get_contact($uid, $user);
|
pumpio_get_contact($uid, $user);
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ function xmpp_addon_settings(App $a, &$s)
|
||||||
|
|
||||||
function xmpp_login()
|
function xmpp_login()
|
||||||
{
|
{
|
||||||
if (!$_SESSION["allow_api"]) {
|
if (isset($_SESSION["allow_api"]) && !$_SESSION["allow_api"]) {
|
||||||
$password = random_string(16);
|
$password = random_string(16);
|
||||||
PConfig::set(local_user(), "xmpp", "password", $password);
|
PConfig::set(local_user(), "xmpp", "password", $password);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user