-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
3.2
-
None
-
MOODLE_32_STABLE
Came up from MDL-55916 - we made the web interface return a 503 when a a site was in maintenance mode. We should do the same in webservices, in fact there are other places where it doesn't seem like we are making use of proper http response codes.
The code around maintance mode exception even gives a clue:
//this is usually temporary, client want to implement code logic => moodle_exception
|
throw new moodle_exception('sitemaintenance', 'admin');
|