-
Bug
-
Resolution: Fixed
-
Minor
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_27_STABLE
-
MDL-45409-master -
To replicate:-
- Go to a user profile
- click on forum posts > post
Notice similar to below will be shown$cm->availablefrom and $cm->availableuntil have been deprecated. This information is no longer available as the system provides more complex options (for example, there might be different dates for different users).
line 1831 of /lib/modinfolib.php: call to debugging()
line 1176 of /lib/modinfolib.php: call to cm_info->get_deprecated_available_date()
line 1197 of /lib/modinfolib.php: call to cm_info->__get()
line 8379 of /mod/forum/lib.php: call to cm_info->getIterator()
line 128 of /mod/forum/user.php: call to forum_get_posts_by_user()
$cm->showavailability property has been deprecated. You can replace it by checking if $cm->availableinfo has content.
line 1816 of /lib/modinfolib.php: call to debugging()
line 1176 of /lib/modinfolib.php: call to cm_info->get_show_availability()
line 1197 of /lib/modinfolib.php: call to cm_info->__get()
line 8379 of /mod/forum/lib.php: call to cm_info->getIterator()
line 128 of /mod/forum/user.php: call to forum_get_posts_by_user()
$cm->availablefrom and $cm->availableuntil have been deprecated. This information is no longer available as the system provides more complex options (for example, there might be different dates for different users).
line 1831 of /lib/modinfolib.php: call to debugging()
line 1176 of /lib/modinfolib.php: call to cm_info->get_deprecated_available_date()
line 1197 of /lib/modinfolib.php: call to cm_info->__get()
line 8379 of /mod/forum/lib.php: call to cm_info->getIterator()
line 128 of /mod/forum/user.php: call to forum_get_posts_by_user()