mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
83ec73f18f
commit
97c84c2049
@ -0,0 +1,65 @@
|
||||
<?
|
||||
// blankfile
|
||||
|
||||
$DB->query("SELECT ID, Title FROM wiki_articles WHERE MinClassRead = 520 OR MinClassEdit = 520");
|
||||
while (list ($ID, $Title) = $DB->next_record()) {
|
||||
$Cache->delete_value("wiki_article_".$ID);
|
||||
echo "<a href='wiki.php?action=article&id=$ID'>$Title</a>";
|
||||
}
|
||||
|
||||
/*
|
||||
* $DB->query("SELECT ID FROM torrents_group"); while (list($TorrentID) =
|
||||
* $DB->next_record()) { $Cache->delete_value('torrent_group_'.$TorrentID); }
|
||||
*/
|
||||
// echo "Torrent caches cleared.\n";
|
||||
|
||||
/*
|
||||
* $Message = sqltime()." - Donor status changed, invites + 2\n\n"; $UserIDs =
|
||||
* array(806, 941, 5130, 5496, 8633, 9230, 10311, 10602, 10636, 12422, 12698,
|
||||
* 14282, 17499, 17547, 17715, 22601, 23671, 24228, 24705, 25766, 27074, 30149,
|
||||
* 31817, 33982, 35130, 36527, 39963, 40744, 40921, 47685, 51138, 51446, 54482,
|
||||
* 57571, 57855, 59260, 60696, 61291, 61593, 63124, 63781, 67073, 67920, 68023,
|
||||
* 68822, 69729, 72558, 73898, 73905, 74510, 76346, 76725, 77508, 77536, 79431,
|
||||
* 80805, 82541, 84789, 86327, 89105, 91639, 92069, 94151, 97839, 100259,
|
||||
* 111517, 112201, 112595, 113511, 113720, 115902, 115999, 116717, 117131,
|
||||
* 119365, 120070, 120459, 122491, 124228, 124311, 124467, 125293, 130902,
|
||||
* 131099, 131580, 131887, 132883, 133465, 134050, 138055, 139523, 139890,
|
||||
* 142027, 142222, 142279, 143131, 143719, 145522, 146438, 148022, 148039,
|
||||
* 148919, 151180, 152579, 152961, 154962, 155665, 155828, 156460, 157398,
|
||||
* 159926, 160618, 162965, 164798, 166152, 167076, 167226, 167461, 168466,
|
||||
* 169490, 169800, 171435, 171989, 173150, 173306, 173609, 175358, 176299,
|
||||
* 177132, 178070, 178137, 178324, 183720, 185361, 185538, 185692, 186352,
|
||||
* 187266, 187500, 188657, 188915, 189474, 190709, 191113, 191522, 192029,
|
||||
* 192116, 192813, 197480, 198492, 198526, 198811, 199099, 200406, 200779,
|
||||
* 201773, 204760, 205185, 205488, 205802, 205915, 206239, 207133, 208061,
|
||||
* 212360, 215402, 216279, 218481, 223475, 223510, 226981, 227255, 228782,
|
||||
* 229974, 231340, 235191, 249802, 250229, 251206, 252615, 254649, 255117,
|
||||
* 255555, 256494, 256799, 257609, 257699, 257997, 258363, 261275, 262619,
|
||||
* 263498, 264564, 264691, 267904, 268012, 270495, 270908, 271106, 272568,
|
||||
* 273174, 276311, 277271, 277523, 278510, 278663, 279207, 279243, 279563,
|
||||
* 281529, 281725, 285316, 285845, 288933, 289777, 290270, 291503, 291714,
|
||||
* 291864, 292010, 292421, 292474, 292588, 292728, 293159, 294752, 295284,
|
||||
* 295365, 297014, 297386, 297848, 298127, 298145, 299285, 300148, 300742,
|
||||
* 301371, 302740, 303324, 303992, 304228, 304726, 304732, 305361, 306792,
|
||||
* 307696, 310150, 310898, 311047, 311663, 311916, 313627, 314431, 314936,
|
||||
* 315965, 316595, 319101, 320063, 322294, 322325, 323204, 323815, 325153,
|
||||
* 325932, 326698, 327799, 328206, 328383, 329389, 329714, 330117, 333456,
|
||||
* 333487, 333930, 335626, 336023, 337341, 338996, 340640, 340846, 340932,
|
||||
* 341530, 343137, 344157, 344948, 345463, 345672, 345999, 346640, 347031,
|
||||
* 349924, 350214, 351584, 351994, 352550, 352591); foreach ($UserIDs as
|
||||
* $UserID) { $DB->query("SELECT Donor FROM users_info WHERE UserID =
|
||||
* ".$UserID); list($Donor) = $DB->next_record(); if (!$Donor) {
|
||||
* $DB->query("UPDATE users_info SET Donor = '1', AdminComment =
|
||||
* CONCAT('".$Message."', AdminComment) WHERE UserID = ".$UserID);
|
||||
* $DB->query("UPDATE users_main SET Invites = Invites + 2 WHERE ID =
|
||||
* ".$UserID); echo "Marked ".$UserID." as donor\n"; } } /*$DB->query("select
|
||||
* id, fltokens from users_main where fltokens <0"); $Results = $DB->to_array();
|
||||
* $DB->query('update users_main set FLTokens = 0 WHERE FLTokens < 0'); foreach
|
||||
* ($Results as $Result) { list($UserID, $Tokens) = $Result;
|
||||
* $Cache->delete_value('user_info_heavy_'.$UserID); echo "Clearing $UserID (Had
|
||||
* $Tokens tokens)<br />"; }
|
||||
*/
|
||||
/*for ($i=1;$i<400000; $i++) {
|
||||
$Cache->delete_value('user_info_heavy_'.$UserID);
|
||||
}*/
|
||||
?>
|
Loading…
Reference in New Issue
Block a user