Skip to content

Commit ccc78dd

Browse files
author
David Castro
committed
INT-13208: Adding GDPR null provider implementation for local_aws_sdk
1 parent 2f0fa76 commit ccc78dd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

classes/privacy/provider.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,35 @@
1313
//
1414
// You should have received a copy of the GNU General Public License
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
1617
/**
1718
* Privacy Subsystem implementation for local_aws_sdk.
1819
*
1920
* @package local_aws_sdk
2021
* @copyright Copyright (c) 2018 Blackboard Inc. (http://www.blackboard.com)
2122
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2223
*/
24+
2325
namespace local_aws_sdk\privacy;
26+
2427
defined('MOODLE_INTERNAL') || die();
28+
2529
/**
2630
* Privacy Subsystem for local_aws_sdk implementing null_provider.
2731
*
2832
* @copyright Copyright (c) 2018 Blackboard Inc. (http://www.blackboard.com)
2933
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3034
*/
3135
class provider implements \core_privacy\local\metadata\null_provider {
36+
use \core_privacy\local\legacy_polyfill;
37+
3238
/**
3339
* Get the language string identifier with the component's language
3440
* file to explain why this plugin stores no data.
3541
*
36-
* @return string
42+
* @return string
3743
*/
38-
public static function get_reason() {
44+
public static function _get_reason() {
3945
return 'privacy:metadata';
4046
}
4147
}

0 commit comments

Comments
 (0)