mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Deleting logs
git-svn-id: file:///svn/phpbb/trunk@6101 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ac3f3b1ae9
commit
aa443a868d
1 changed files with 3 additions and 3 deletions
|
@ -43,8 +43,8 @@ class mcp_logs
|
|||
|
||||
// Set up general vars
|
||||
$start = request_var('start', 0);
|
||||
$deletemark = (isset($_POST['del_marked'])) ? true : false;
|
||||
$deleteall = (isset($_POST['del_all'])) ? true : false;
|
||||
$deletemark = ($action == 'del_marked') ? true : false;
|
||||
$deleteall = ($action == 'del_all') ? true : false;
|
||||
$marked = request_var('mark', array(0));
|
||||
|
||||
// Sort keys
|
||||
|
@ -91,7 +91,7 @@ class mcp_logs
|
|||
if ($where_sql || $deleteall)
|
||||
{
|
||||
$sql = 'DELETE FROM ' . LOG_TABLE . '
|
||||
WHERE log_type = ' . LOD_MOD . "
|
||||
WHERE log_type = ' . LOG_MOD . "
|
||||
$where_sql";
|
||||
$db->sql_query($sql);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue