mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
cc32775f24
commit
2310093877
@ -38,7 +38,7 @@
|
||||
$Matched = 0;
|
||||
$Suggestions = array();
|
||||
$Snatches = array();
|
||||
$Links = array();
|
||||
$ArtistIDs = array();
|
||||
foreach ($AutoSuggest as $Suggestion) {
|
||||
list($ID,$Name, $Snatch) = $Suggestion;
|
||||
if (stripos($Name,$FullName) === 0) {
|
||||
|
@ -1023,7 +1023,9 @@ function next_hour() {
|
||||
|
||||
if($BiWeek == 8) {
|
||||
$DB->query("TRUNCATE TABLE top_snatchers;");
|
||||
|
||||
$DB->query("INSERT INTO top_snatchers (UserID) SELECT uid FROM xbt_snatched GROUP BY uid ORDER BY COUNT(uid) DESC LIMIT 100;");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
}
|
||||
$Article = $Alias->article($ArticleID);
|
||||
list($Revision, $Title, $Body, $Read, $Edit, $Date, $AuthorID, $AuthorName, $Aliases, $UserIDs) = array_shift($Article);
|
||||
if($Read > $LoggedUser['EffectiveClass']){ error(404); }
|
||||
if($Read > $LoggedUser['EffectiveClass']){ error('You must be a higher user class to view this wiki article'); }
|
||||
|
||||
show_header($Title,'wiki,bbcode');
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user