Hi Dominique,
Thank you for your help. I’m a bit surprised since for example, in ordering, random, multiple choice calculated or others questions, such functions does not exist, the /lib forlder neither ...
I will anyway try this Thanks.
Hi Dominique,
Thank you for your help. I’m a bit surprised since for example, in ordering, random, multiple choice calculated or others questions, such functions does not exist, the /lib forlder neither ...
I will anyway try this Thanks.
Hi François,
which kind of plugin do you develop ?
is it a question type ?
(the lib.php is in the root of the plugin not in a sub directory of the plugin)
In fact for question type you don't need the function in lib.php.
Moodle can ask you to remove the directory manually. But try to be sure that the group/owner of the directory is www-data:www-data
and the access right should be 775
Dominique.
Hi Dominique,
Yes, its a question plugin.
Excuse me for not answering quickly, other stuffs around to work with. Your advice was good indeed, thank you, but a question remains : in my moodle installation the great majority of the questions belongs to owner:owner (since nobody touches my computer and outer protection is ok, this root:root). How hell is this possible that some of the questions are uninstallable and other not ?
Thank you for your expert response !
François
No, there is no cron job related to this. But you may be hitting other caching layers here - such as the web server or OS level caches.
Yes, its a question plugin.
The, question type plugins cannot be uninstalled if there are existing questions of that type in the question bank. See core\plugininfo\qtype::is_uninstall_allowed()