MDL-63658 core_favourites: consolidate interfaces and rename
authorJake Dallimore <jake@moodle.com>
Wed, 17 Oct 2018 00:59:53 +0000 (08:59 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 18 Oct 2018 00:22:07 +0000 (08:22 +0800)
commitb7a3ec6f8dbe2f0ace9a3cb5ec6eaf4fbfac7bd9
tree0ee43acd7ef725520ea4e2bfc0163adc1180bdec
parent0551ed3569b7e13ce4af5935cdfcc906431bcdb0
MDL-63658 core_favourites: consolidate interfaces and rename

Let's worry about reuse of the crud code later, when that requirement
arises, so moved that into the ifavourite_repository interface, and then
renamed it favourite_repository_interface.
favourites/classes/local/repository/favourite_repository.php
favourites/classes/local/repository/favourite_repository_interface.php [moved from favourites/classes/local/repository/crud_repository.php with 80% similarity]
favourites/classes/local/repository/ifavourite_repository.php [deleted file]
favourites/classes/local/service/user_favourite_service.php
favourites/tests/service_test.php