diff options
Diffstat (limited to 'lib/VNDB')
-rw-r--r-- | lib/VNDB/DB/ULists.pm | 1 | ||||
-rw-r--r-- | lib/VNDB/DB/VN.pm | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/VNDB/DB/ULists.pm b/lib/VNDB/DB/ULists.pm index 23bde7cf..e6a85ba0 100644 --- a/lib/VNDB/DB/ULists.pm +++ b/lib/VNDB/DB/ULists.pm @@ -303,6 +303,7 @@ sub dbWishListGet { push @join, 'JOIN vn v ON v.id = wl.vid'; } + no if $] >= 5.022, warnings => 'redundant'; my $order = sprintf { title => 'v.title %s', added => 'wl.added %s', diff --git a/lib/VNDB/DB/VN.pm b/lib/VNDB/DB/VN.pm index 0c684f89..b43ac791 100644 --- a/lib/VNDB/DB/VN.pm +++ b/lib/VNDB/DB/VN.pm @@ -111,6 +111,7 @@ sub dbVNGet { qq|(SELECT AVG(tvh.rating) FROM tags_vn_inherit tvh WHERE tvh.tag IN($tag_ids) AND tvh.vid = v.id AND spoiler <= $o{tagspoil} GROUP BY tvh.vid) AS tagscore| : (), ); + no if $] >= 5.022, warnings => 'redundant'; my $order = sprintf { id => 'v.id %s', rel => 'v.c_released %s, v.title ASC', |