yedidiaklein / moodle-repository_pixabay

Moodle Repository for Pixabay images.
GNU General Public License v3.0
1 stars 5 forks source link

Not returning correct contains_private_data setting #4

Closed sharpchi closed 4 years ago

sharpchi commented 5 years ago

When using loggedinas the plugin throws an error because "contains_private_data" defaults to true.

image The lib.php file should contain the following function.

    /**
     * Is this repository accessing private data?
     *
     * @return bool
     */
    public function contains_private_data() {
        return false;
    }