Moodle

Create all the new empty upgrade.php files

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7
  • Fix Version/s: 1.7
  • Component/s: Database SQL/XMLDB
  • Labels:
    None
  • Environment:
    Any
  • Affected Branches:
    MOODLE_17_STABLE
  • Fixed Branches:
    MOODLE_17_STABLE

Description

Create all the new upgrade.php files with some documentation inside them
Deprecate old mysql.php and postgres.php (where "deprecate" means: explain they won't be used anymore)

One good example: lib/db/upgrade.php

Activity

Hide
Thomas Forsberg added a comment -

I get the the following error when i tried to upgrade to latest version:

Upgrade files data: C:\Inetpub\wwwroot\elearning/mod/data/db/mssql.php or C:\Inetpub\wwwroot\elearning/mod/data/db/upgrade.php were not readable

Upgrade files glossary: C:\Inetpub\wwwroot\elearning/mod/glossary/db/mssql.php or C:\Inetpub\wwwroot\elearning/mod/glossary/db/upgrade.php were not readable

I this maybe related to this issue and already in progress ?

Thomas

Show
Thomas Forsberg added a comment - I get the the following error when i tried to upgrade to latest version: Upgrade files data: C:\Inetpub\wwwroot\elearning/mod/data/db/mssql.php or C:\Inetpub\wwwroot\elearning/mod/data/db/upgrade.php were not readable Upgrade files glossary: C:\Inetpub\wwwroot\elearning/mod/glossary/db/mssql.php or C:\Inetpub\wwwroot\elearning/mod/glossary/db/upgrade.php were not readable I this maybe related to this issue and already in progress ? Thomas
Hide
Eloy Lafuente (stronk7) added a comment -

Yep Thomas! Hoppefully it will be solved today!

Thanks!

Show
Eloy Lafuente (stronk7) added a comment - Yep Thomas! Hoppefully it will be solved today! Thanks!
Hide
Eloy Lafuente (stronk7) added a comment -

Finally, 24 more hours will be needed, sorry Thomas. I've sent to CVS the "model" of new upgrade.php script (for the glossary module).

Please, Martin, validate it. I'll start to spreading such "model" with your modifs in 14 from now (Euro-evening).

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Finally, 24 more hours will be needed, sorry Thomas. I've sent to CVS the "model" of new upgrade.php script (for the glossary module). Please, Martin, validate it. I'll start to spreading such "model" with your modifs in 14 from now (Euro-evening). Ciao
Hide
Eloy Lafuente (stronk7) added a comment -

Done. Now:

  • all the initial (template) upgrade.php files ar in CVS (1.7 and HEAD)
  • all the old ones have been marked as "deprecated".
Show
Eloy Lafuente (stronk7) added a comment - Done. Now:
  • all the initial (template) upgrade.php files ar in CVS (1.7 and HEAD)
  • all the old ones have been marked as "deprecated".

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: