MDL-57759 mod_lesson: Handle offline attempts in view and WS
commit87e472bd15313429d15416a202396bb61c4453cf
authorJuan Leyva <juanleyvadelgado@gmail.com>
Tue, 24 Jan 2017 16:08:03 +0000 (24 17:08 +0100)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Mon, 27 Mar 2017 08:41:09 +0000 (27 10:41 +0200)
treeeb39a9ab6565e08de01928258f7aee21b61972b1
parentd874370b201adc9d53c7f9a6079af5f0d8126909
MDL-57759 mod_lesson: Handle offline attempts in view and WS

- Notify the user if there are previous offline attempts
- Set the offline attempts and return additional information via Web
Services
mod/lesson/classes/external.php
mod/lesson/lang/en/lesson.php
mod/lesson/locallib.php
mod/lesson/tests/external_test.php
mod/lesson/view.php