unset($row['boardID'], $row['groupID']);
foreach ($row as $permission => $value) {
+ if ($value == -1) continue;
+
ImportHandler::getInstance()->getImporter('com.woltlab.wbb.acl')->import(0, array_merge($data, array('optionValue' => $value)), array('optionName' => $permission));
}
}
unset($row['boardID'], $row['userID']);
foreach ($row as $permission => $value) {
+ if ($value == -1) continue;
+
ImportHandler::getInstance()->getImporter('com.woltlab.wbb.acl')->import(0, array_merge($data, array('optionValue' => $value)), array('optionName' => $permission));
}
}