Skip to content

Commit 1f4b042

Browse files
committed
Removed outdated check link function.
1 parent 46b934f commit 1f4b042

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

DateCalculatedFieldsExternalModule.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,6 @@ function redcap_save_record($project_id, $record, $instrument, $event_id, $group
233233
//$this->exitAfterHook();
234234
}
235235

236-
function redcap_module_link_check_display($project_id, $link, $record, $instrument, $instance, $page) {
237-
if(\REDCap::getUserRights(USERID)[USERID]['design'] == '1'){
238-
return $link;
239-
}
240-
return null;
241-
}
242-
243236
function generateNewDate($postDate,$daysOrMonths,$daysOffset,$componentDate) {
244237
$daysPerMonth = array(
245238
1=>31,

config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"permissions": [
1717
"redcap_every_page_before_render",
1818
"select_data",
19-
"redcap_module_link_check_display",
2019
"redcap_data_entry_form",
2120
"redcap_survey_page",
2221
"redcap_save_record"

0 commit comments

Comments
 (0)