1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Issue #2846 LAN vars cleanup

This commit is contained in:
Cameron
2017-11-06 17:32:00 -08:00
parent a541721eb3
commit 1063ffe543
3 changed files with 5 additions and 4 deletions

View File

@@ -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 = "";

View File

@@ -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 --------------

View File

@@ -156,7 +156,7 @@ define("USRLAN_151", "Clear bounce, require Activation");
define("USRLAN_152", "Clear bounce and Activate");
define("USRLAN_153", "Delete non-bounce emails");
define("USRLAN_154", "Clear email for checked");
define("USRLAN_155", "Total {TOTAL} emails found. {DELCOUNT} deleted through options.<br />{DELUSER} users marked as 'bounced' (out of {FOUND} emails)");
define("USRLAN_155", "Total [w] emails found. [x] deleted through options.[br][y] users marked as 'bounced' (out of [z] emails)");
define("USRLAN_156", "Email address is already in use");
// define("USRLAN_160", "Total [x] users of type --TYPE-- pruned");