+ // run the pre_update_nnnn functions in update.php
+ for ($x = $stored; $x < $current; $x ++) {
+ $r = run_update_function($x, 'pre_update');
+ if (!$r) {
+ break;
+ }
+ }
+
+ $output = DBStructure::update(true, true);
+
+ // run the update_nnnn functions in update.php