Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29516 DB layer improvements 2.3 META
  3. MDL-29515

remove deprecated DDL+DML methods and functions

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.1, 2.2
    • Database SQL/XMLDB
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_23_STABLE
    • w12_MDL-29515_m23_deprdb
    • Hide

      Git grep for the following tokens in codebase and ensure deprecated functions not being used:

      table_exists
      field_exists
      find_index_name
      index_exists
      find_key_name
      drop_table
      install_from_xmldb_file
      create_table
      create_temp_table
      rename_table
      add_field
      drop_field
      change_field_type
      change_field_precision
      change_field_unsigned
      change_field_notnull
      change_field_default
      rename_field
      add_key
      drop_key
      rename_key
      add_index
      drop_index
      rename_index
      sql_ilike

      XMLDBField
      setAttributes
      XMLDBIndex
      XMLDBKey
      addFieldInfo
      addKeyInfo
      addIndexInfo
      XMLDBTable

      Show
      Git grep for the following tokens in codebase and ensure deprecated functions not being used: table_exists field_exists find_index_name index_exists find_key_name drop_table install_from_xmldb_file create_table create_temp_table rename_table add_field drop_field change_field_type change_field_precision change_field_unsigned change_field_notnull change_field_default rename_field add_key drop_key rename_key add_index drop_index rename_index sql_ilike XMLDBField setAttributes XMLDBIndex XMLDBKey addFieldInfo addKeyInfo addIndexInfo XMLDBTable

      This was already planned for 2.1, we should do that before 2.2 - devs had enough time to update the db/upgrade.php files...

            skodak Petr Skoda
            skodak Petr Skoda
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.