mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-21 03:49:21 -04:00
multiple items, so don't create a confusing API where we don't need one. The caller can just as easily loop over items and tags. Use ORM::has() instead of manually looping over items, which would be wildly inefficient on large installs. Document that we're calling ORM::has() a second time just so that we can update the count correctly.