MDL-27460 roles: now closing a record set that wasnt being closed

This commit is contained in:
Andrew Davis (andyjdavis)
2011-05-12 10:37:33 +08:00
parent 39d106ee76
commit b9d64ab18f
+1
View File
@@ -1316,6 +1316,7 @@ abstract class role_allow_role_page {
foreach ($rs as $allow) {
$this->allowed[$allow->roleid][$allow->{$this->targetcolname}] = true;
}
$rs->close();
}
/**