From 4c6781f009b0222b9c9d8643aebb8160ad152542 Mon Sep 17 00:00:00 2001 From: Adrian Greeve Date: Thu, 16 Aug 2018 14:31:43 +0800 Subject: [PATCH] MDL-62535 privacy: Create deprecated provider interface. Any interfaces that have become deprecated should extend this interface. --- privacy/classes/local/deprecated.php | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 privacy/classes/local/deprecated.php diff --git a/privacy/classes/local/deprecated.php b/privacy/classes/local/deprecated.php new file mode 100644 index 0000000000000..9b0578413d8b4 --- /dev/null +++ b/privacy/classes/local/deprecated.php @@ -0,0 +1,37 @@ +. + +/** + * File containing a class for deprecated interfaces. + * + * Plugins should implement this if their interface is now deprecated. + * + * @package core_privacy + * @copyright 2018 Adrian Greeve + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace core_privacy\local; + +defined('MOODLE_INTERNAL') || die(); + +/** + * The deprecated interface. + * + * @copyright 2018 Adrian Greeve + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +interface deprecated { +} \ No newline at end of file