2 // $Id: og_views.views_default.inc,v 1.4 2009/03/31 01:47:30 weitzman Exp $
4 // Declare all the .view files in the views subdir that end in .view
5 function og_views_default_views() {
6 $files = file_scan_directory(drupal_get_path('module', 'og_views'). '/views', '.view');
7 foreach ($files as $absolute => $file) {
10 $views[substr($file->name, 3)] = $view;