1.20.x dblog.install dblog_update_1000()

Account for possible legacy systems where dblog was not installed.

File

modules/dblog/dblog.install, line 97
Install, update and uninstall functions for the dblog module.

Code

function dblog_update_1000() {
  if (!db_table_exists('watchdog')) {
    db_create_table('watchdog', backdrop_get_schema_unprocessed('dblog', 'watchdog'));
  }
}