mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 05:41:58 +02:00
Issue #2846 LAN vars cleanup
This commit is contained in:
@@ -1058,13 +1058,14 @@ class lancheck
|
||||
$kom_start = chr(47)."*";
|
||||
$kom_end = "*".chr(47);
|
||||
|
||||
if(vartrue($_SESSION['lancheck-edit-file']))
|
||||
if(!empty($_SESSION['lancheck-edit-file']))
|
||||
{
|
||||
$writeit = $_SESSION['lancheck-edit-file'];
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
e107::getMessage()->addError("There is a problem with sessions");
|
||||
return;
|
||||
}
|
||||
|
||||
$old_kom = "";
|
||||
|
@@ -2335,7 +2335,7 @@ class users_admin_ui extends e_admin_ui
|
||||
$ed = $sql->db_Update('user',"user_ban=3 WHERE (`user_id` IN (".$all_ids.") OR `user_email` IN (".$all_emails.")) AND user_sess !='' ");
|
||||
if (!$ed)
|
||||
$ed = '0';
|
||||
$this->show_message(str_replace(array('{TOTAL}','{DELCOUNT}','{DELUSER}','{FOUND}'),array($tot,$del_count,$ed,$found),USRLAN_155).$text);
|
||||
$this->show_message(str_replace(array('[w]','[x]','[y]','[z]'),array($tot,$del_count,$ed,$found),USRLAN_155).$text);
|
||||
}
|
||||
|
||||
// ------- FIXME Prune Users move to cron --------------
|
||||
|
Reference in New Issue
Block a user