remove duplicate code from global/unit modes (sorting on category or duplicates)
remove 4 duplicate queries in batch manager global
replace filter_sets with a class (will break plugin event handlers perform_batch_manager_prefilters) that will allow to know if current set is empty/sorted/uninitialized etc ...
**Reported by rvelices on 4 Oct 2012 12:45**
**Version:** 2.4.4
as a prerequisite do a cleanup on batch manager
- remove duplicate code from global/unit modes (sorting on category or duplicates)
- remove 4 duplicate queries in batch manager global
- replace filter_sets with a class (will break plugin event handlers perform_batch_manager_prefilters) that will allow to know if current set is empty/sorted/uninitialized etc ...
[Piwigo Bugtracker #2759](http://piwigo.org/bugs/view.php?id=2759)
<!-- github-sync-id:97252279 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported by rvelices on 4 Oct 2012 12:45
Version: 2.4.4
as a prerequisite do a cleanup on batch manager
Piwigo Bugtracker #2759