Why?
Moodle don't allow to disable Forum module by configuration.
How?
It makes Forum disable by changing the value stored in Moodle DB(My SQL).
- Access Moodle DB by moodel DB user
- Change the value from 1 to 0 for Visible column in modules table.
sysadmin@linux-rsgv:~> mysql -u moodleuser moodle -p Enter password:
mysql> select visible from mdl_modules where name='forum'; +---------+ | visible | +---------+ | 1 | +---------+ 1 row in set (0.00 sec) mysql> update mdl_modules set visible='0' where name='forum'; Query OK, 1 row affected (0.00 sec) Rows matched: 1 Changed: 1 Warnings: 0 mysql> select visible from mdl_modules where name='forum'; +---------+ | visible | +---------+ | 0 | +---------+ 1 row in set (0.00 sec) mysql> commit; Query OK, 0 rows affected (0.00 sec)
Of cause this modification isn't recommended by Moodle.
Please take responsibility for your action. :-)
Informative information, thanks for sharing. Please visit https://goo.gl/DAcxhh
ReplyDelete