Koha/misc/cronjobs
Tomas Cohen Arazi fd30cac85a Bug 22155: Adapt uses of biblio_metadata.marcflavour to schema
This patch makes the code using Koha::Biblio::Metadata->marcflavour use
->schema instead for all interactions.

To test:
- Update the DB structure:
  $ updatedatabase
- Update the schema files:
  $ dbic
- Notice all the places in which biblio_metadata is used
  $ cd kohaclone
  $ git grep biblio_metadata
=> SUCCESS: They all use `schema` instead of marcflavour
- Notice all the places that use Koha::Biblio::Metadata:
  $ git grep Koha::Biblio::Metadata
=> SUCCESS: They all use the schema attribute when they used to use
marcflavour
- Run all the modified tests and scripts
=> SUCCESS: We are all good
- Sign off :-D

Note: while this seems like a minor change, the places in which plain
SQL is used really require understanding the queries and how they are
used, because some query results might be passed to some other method
that in turn uses the marcflavour attribute. I of course took that into
account but errare humanum est :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-30 11:35:34 +00:00
..
holds Bug 21698: (QA follow-up) Fix typo verbosev -> verbose 2018-10-31 13:49:19 +00:00
rss Bug 21526: Use the 'url' filter when needed 2018-11-12 16:35:43 -03:00
social_data
thirdparty Bug 21640: Enable output to STDOUT for Itiva outbound script 2018-11-02 10:33:08 +00:00
advance_notices.pl
automatic_item_modification_by_age.pl
automatic_renewals.pl Bug 15494: Update display of renewal errors 2018-11-07 21:39:38 +00:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl
cart_to_shelf.pl
check-url-quick.pl Bug 21122: Fix check-url-quick when utf8 characters in URL's 2018-08-02 10:21:43 -03:00
check-url.pl
cleanup_database.pl Bug 20402: only output if verbose flag is set 2018-05-09 12:47:43 -03:00
cloud-kw.pl
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl
crontab.example Bug 21235: Remove table services_throttle 2018-09-07 15:09:39 +00:00
delete_expired_opac_registrations.pl
delete_items.pl
delete_patrons.pl Bug 20915: Use date --iso-8601 instead of date +%Y-%m-%d 2018-09-26 16:43:22 +00:00
delete_records_via_leader.pl Bug 22155: Adapt uses of biblio_metadata.marcflavour to schema 2019-01-30 11:35:34 +00:00
edi_cron.pl
fines.pl Bug 21753: Remove all reference of chargename from scripts 2019-01-04 03:13:49 +00:00
gather_print_notices.pl
import_webservice_batch.pl
j2a.pl
longoverdue.pl Bug 22049: Make MarkIssueReturned rely on returndate only 2019-01-25 20:46:47 +00:00
membership_expiry.pl
merge_authorities.pl
notice_unprocessed_suggestions.pl
overdue_notices.pl
printoverdues.sh
process_message_queue.pl Bug 21322: process_message_queue.pl --type should take an argument 2018-10-03 17:34:43 +00:00
purge_suggestions.pl Bug 16280: purge_suggestions.pl: Cron job log should tell number of days used 2018-11-05 14:41:05 +00:00
reconcile_balances.pl Bug 21915: Add a cli script to reconcile balances 2019-01-04 03:13:41 +00:00
remove_temporary_edifiles.pl
runreport.pl Bug 21035: Handle new lines when running reports 2018-08-09 11:18:55 +00:00
serialsUpdate.pl Bug 17047: subscriptions management with Mana-KB 2019-01-23 14:39:26 +00:00
share_usage_with_koha_community.pl
sitemap.pl
staticfines.pl Bug 21753: Remove all reference of chargename from scripts 2019-01-04 03:13:49 +00:00
stockrotation.pl Bug 21620: Prevent stockrotation cronjob failures 2018-11-02 10:33:00 +00:00
update_totalissues.pl