Advertisement
sarjona

lib/db/upgradelib.php CiBoT errors

Jan 28th, 2022
836
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/lib/db/upgradelib.php b/lib/db/upgradelib.php
  2. index e0a9426aee4..e67af9972de 100644
  3. --- a/lib/db/upgradelib.php
  4. +++ b/lib/db/upgradelib.php
  5. @@ -1295,13 +1295,13 @@ function upgrade_calendar_override_events_fix(stdClass $info, bool $output = tru
  6.  function upgrade_migrate_question_table(): void {
  7.      global $DB;
  8.  
  9. -    /** @var int Maximum size of array. */
  10. +    // Maximum size of array.
  11.      $maxlength = 30000;
  12.  
  13. -    /** @var array Array of question_versions objects. */
  14. +    // Array of question_versions objects.
  15.      $questionversions = [];
  16.  
  17. -    /** @var array Array of question_set_references objects. */
  18. +    // Array of question_set_references objects.
  19.      $questionsetreferences = [];
  20.  
  21.      // The actual update/insert done with multiple DB access, so we do it in a transaction.
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement