Project

General

Profile

Revision 1f142f4f

Added by Florent Torregrosa over 8 years ago

Issue #592: Update file_entity to version 7.x-2.0-beta2.

View differences:

drupal7/sites/all/modules/file_entity/file_entity.views.inc
162 162
    ),
163 163
  );
164 164
}
165

  
166
/**
167
 * Implements hook_views_query_substitutions().
168
 */
169
function file_entity_views_query_substitutions() {
170
  return array(
171
    '***ADMINISTER_FILES***' => intval(user_access('administer files')),
172
    '***BYPASS_FILE_ACCESS***' =>  intval(user_access('bypass file access')),
173
  );
174
}

Also available in: Unified diff