Skip to content
Snippets Groups Projects
Commit 9786f93c authored by Neil Drumm's avatar Neil Drumm :wave:
Browse files

Remove commented-out code that I doubt will return

parent e893adcc
Branches
Tags
No related merge requests found
<?php <?php
/**
* The session evaluations view is filtered so the current user sees
* evaluations for their sessions. This function allows them to access them in
* this special case.
function drupalorg_drupalcon_node_grants($account, $op) {
static $admin_role;
if (in_array($_GET['q'], array('session-evaluations', 'session-evaluations/csv'))) {
if (is_null($admin_role)) {
$admin_role = user_role_load_by_name('admin');
}
return array('content_access_rid' => array($admin_role->rid));
}
}
*/
/** /**
* Implements hook_menu(). * Implements hook_menu().
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment