merge
This commit is contained in:
commit
1be336ad23
@ -251,6 +251,18 @@ class Tag_History extends SimpleExtension {
|
|||||||
return ($row ? $row : array());
|
return ($row ? $row : array());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This doesn't actually get _ALL_ IPs as it limits to 1000. */
|
||||||
|
public function get_all_user_ips()
|
||||||
|
{
|
||||||
|
global $database;
|
||||||
|
$row = $database->get_all("
|
||||||
|
SELECT DISTINCT user_ip
|
||||||
|
FROM tag_histories
|
||||||
|
ORDER BY tag_histories.user_ip DESC
|
||||||
|
LIMIT 1000");
|
||||||
|
return ($row ? $row : array());
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function attempts to revert all changes by a given IP within an (optional) timeframe.
|
* This function attempts to revert all changes by a given IP within an (optional) timeframe.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user