You are here

function biblio_update_26 in Bibliography Module 6

Same name and namespace in other branches
  1. 5 biblio.install \biblio_update_26()
  2. 6.2 biblio.install \biblio_update_26()

File

./biblio.install, line 1355
Install file for biblio module

Code

function biblio_update_26() {
  $result = array();
  $result[] = update_sql("UPDATE {biblio}  SET  biblio_year = 9997 WHERE biblio_year = 9999 ;");
  $result[] = update_sql("UPDATE {biblio}  SET  biblio_year = 9999 WHERE biblio_year = 9998 ;");
  $result[] = update_sql("UPDATE {biblio}  SET  biblio_year = 9998 WHERE biblio_year = 9997 ;");
  $result[] = update_sql("UPDATE {biblio_fields} SET hint = '(Submitted, In Press or YYYY)' WHERE name = 'biblio_year';");
  return $result;
}