|
|
|
@ -28,3 +28,16 @@ function getStatus() |
|
|
|
$infos = PremiumizeMe::getStatus(); |
|
|
|
include dirname(__FILE__).'/../templates/status.php'; |
|
|
|
} |
|
|
|
|
|
|
|
function cleanList() |
|
|
|
{ |
|
|
|
if (!isset($_GET['state']) || empty($_GET['state'])) { |
|
|
|
echo 'pas de state, exit'; |
|
|
|
exit(); |
|
|
|
} |
|
|
|
|
|
|
|
$db = DbMongo::get(); |
|
|
|
$coll = $db->download; |
|
|
|
|
|
|
|
$coll->remove(['cstate' => $_GET['state']]); |
|
|
|
} |