Skip to content

Commit 1560349

Browse files
author
David Monllao
committed
Merge branch 'MDL-61858_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2 parents f39b2d7 + 739e7f5 commit 1560349

File tree

7 files changed

+18
-0
lines changed

7 files changed

+18
-0
lines changed

grade/grading/form/guide/classes/privacy/provider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3838
*/
3939
class provider implements
40+
\core_privacy\local\metadata\provider,
4041
\core_privacy\local\request\user_preference_provider {
4142

4243
/**

portfolio/boxnet/classes/privacy/provider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
class provider implements
3737
// This portfolio plugin does not store any data itself.
3838
// It has no database tables, and it purely acts as a conduit, sending data externally.
39+
\core_privacy\local\metadata\provider,
3940
\core_portfolio\privacy\portfolio_provider {
4041

4142
/**

portfolio/flickr/classes/privacy/provider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
class provider implements
3737
// This portfolio plugin does not store any data itself.
3838
// It has no database tables, and it purely acts as a conduit, sending data externally.
39+
\core_privacy\local\metadata\provider,
3940
\core_portfolio\privacy\portfolio_provider {
4041

4142
/**

portfolio/googledocs/classes/privacy/provider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
class provider implements
3737
// This portfolio plugin does not store any data itself.
3838
// It has no database tables, and it purely acts as a conduit, sending data externally.
39+
\core_privacy\local\metadata\provider,
3940
\core_portfolio\privacy\portfolio_provider {
4041

4142
/**

portfolio/mahara/classes/privacy/provider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
class provider implements
3737
// This portfolio plugin does not store any data itself.
3838
// It has no database tables, and it purely acts as a conduit, sending data externally.
39+
\core_privacy\local\metadata\provider,
3940
\core_portfolio\privacy\portfolio_provider {
4041

4142
/**

portfolio/picasa/classes/privacy/provider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
class provider implements
3737
// This portfolio plugin does not store any data itself.
3838
// It has no database tables, and it purely acts as a conduit, sending data externally.
39+
\core_privacy\local\metadata\provider,
3940
\core_portfolio\privacy\portfolio_provider {
4041

4142
/**

privacy/tests/provider_test.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,18 @@ public function test_metadata_provider($component, $classname) {
163163
}
164164
}
165165

166+
/**
167+
* Test that all providers implement some form of compliant provider.
168+
*
169+
* @dataProvider get_component_list
170+
* @param string $component frankenstyle component name, e.g. 'mod_assign'
171+
* @param string $classname the fully qualified provider classname
172+
*/
173+
public function test_all_providers_compliant($component, $classname) {
174+
$manager = new manager();
175+
$this->assertTrue($manager->component_is_compliant($component));
176+
}
177+
166178
/**
167179
* Data provider for the metadata\provider tests.
168180
*

0 commit comments

Comments
 (0)