Skip to content

add during_initial_install check in update_object_by_hash function#570

Open
ghost wants to merge 4 commits intoMOODLE_310_STABLEfrom
wr411276-fix-tool_objectfs_objects-table-not-found-during-initial-installation-error
Open

add during_initial_install check in update_object_by_hash function#570
ghost wants to merge 4 commits intoMOODLE_310_STABLEfrom
wr411276-fix-tool_objectfs_objects-table-not-found-during-initial-installation-error

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jul 10, 2023

No description provided.

@ghost ghost self-assigned this Jul 10, 2023
@ghost ghost requested review from danmarsden and jwalits July 10, 2023 04:21
@ghost ghost changed the title add table_exists check in update_object_by_hash function add during_initial_install check in update_object_by_hash function Jul 10, 2023
Comment thread classes/local/manager.php
$newobject = new stdClass();
$newobject->contenthash = $contenthash;

if (during_initial_install()) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not do this first above line 139?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant