-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathclear_inactives.php
More file actions
25 lines (23 loc) · 1.04 KB
/
Copy pathclear_inactives.php
File metadata and controls
25 lines (23 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?
/***************************************************************************
* clear_inactives.php
* ----------------------------
* begin : Saturday, June 11, 2011
* copyright : (C) 2011 J. David Baker
* email : me@jdavidbaker.com
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
include "includes/classes.inc.php";
$statement = "delete from selection where team_id = '".$login->team_id()."'
and selection_priority = '0'";
mysql_query($statement);
header("Location: ".$_SERVER['HTTP_REFERER']);
?>