Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.5
-
Fix Version/s: None
-
Component/s: Wiki (1.x)
-
Labels:None
-
Environment:centos 5.3 , php 5.1.6 , apache 2, Moodle 1.9.5+ (Build: 20090624)
-
Database:MySQL
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
Description
i deleted the mod/wiki folder. and copied the nwiki 2 mod/wiki folder instead.
(all the other folders in the nwiki 2 zip too) and started the upgrade process by clicking the Notification menu entry.
the process was haled with fatal error :
unable to find groups_get_groups_for_user() function on mod/wiki/wikimigrate/ewiki_migrate.php line 453.
indeed there is no such function. (that i could find)
i used groups_get_user_groups() function instead.
see patch: (do not forget to switch the parameters!)
//$groups = groups_get_groups_for_user($page->userid,$cm->course);
$groups = groups_get_user_groups($cm->course,$page->userid);
and it solved that issue (i hope)
![]()
Thanks for reporting this issue.
We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.
If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.
Michael d;
lqjjLKA0p6