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

This commit is contained in:
Andrew Davis (andyjdavis) 2011-05-10 16:59:09 +08:00
parent 439ae873af
commit 017c440bb4

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();
}
/**