Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.7
-
Fix Version/s: 2.7
-
Component/s: Conditional activities, Forum
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_27_STABLE
-
Fixed Branches:MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-45409-master -
Pull Master Diff URL:
Description
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()