Issue #1907876 by dawehner: Remove views_import_access().

8.0.x
catch 2013-02-06 12:49:26 +00:00
parent a331965b58
commit 63792c76df
1 changed files with 0 additions and 10 deletions

View File

@ -704,16 +704,6 @@ function views_invalidate_cache() {
module_invoke_all('views_invalidate_cache');
}
/**
* Access callback to determine if the user can import Views.
*
* View imports require an additional access check because they are PHP
* code and PHP is more locked down than administer views.
*/
function views_import_access() {
return user_access('administer views') && user_access('use PHP for settings');
}
/**
* Determine if the logged in user has access to a view.
*