mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
18 lines
469 B
PHP
18 lines
469 B
PHP
<?
|
|
//******************************************************************************//
|
|
//--------------- Restore all VH-recommended torrents to NL --------------------//
|
|
//---- For use after resetting the FL/NL database (after sitewide freeleech) ---//
|
|
authorize();
|
|
|
|
if (!check_perms('site_manage_recommendations')) {
|
|
error(403);
|
|
}
|
|
|
|
$DB->query('
|
|
SELECT GroupID
|
|
FROM torrents_recommended');
|
|
$ToNL = $DB->next_record();
|
|
Torrents::freeleech_groups($ToNL, 2, 3);
|
|
?>
|
|
Done
|