Moodle

get_site() should return exception

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: General
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

missing site record is fatal exception - we can not recover, sorry
also there is a bogus new lang string in debug.php "siteisnotdefined" - we already have "nosite"!

Activity

Hide
Petr Škoda (skodak) added a comment -

grrrrr - "cannotfindsite" is another duplicate string introduced in HEAD

Show
Petr Škoda (skodak) added a comment - grrrrr - "cannotfindsite" is another duplicate string introduced in HEAD
Hide
Petr Škoda (skodak) added a comment -

done

Show
Petr Škoda (skodak) added a comment - done

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: