nicer formatting for tag history log

This commit is contained in:
Shish 2013-02-09 10:27:25 +00:00
parent 279c3dd61a
commit 4fe7855a70

View File

@ -261,10 +261,11 @@ class Tag_History extends Extension {
} }
if(count($select_code) == 0) { if(count($select_code) == 0) {
log_error("tag_history", "Tried to mass revert without any conditions");
return; return;
} }
log_info("tag_history", 'Attempting to revert edits where '.implode(" and ", $select_code)." / ".implode(" and ", $select_args)); log_info("tag_history", 'Attempting to revert edits where '.implode(" and ", $select_code)." (".implode(" / ", $select_args).")");
// Get all the images that the given IP has changed tags on (within the timeframe) that were last editied by the given IP // Get all the images that the given IP has changed tags on (within the timeframe) that were last editied by the given IP
$result = $database->get_col(' $result = $database->get_col('